공부방/MFC
timeBeginPerioid(), timeEndPeriod() Function.
강력뽄드
2016. 9. 18. 17:14
Function : timeBeginPeriod(UINT uPeriod), timeBeginPeriod(UINT uPeriod)
Header : Mmsystem.h
Description
- timeGetTime의 성능을 강화시키는 역활을 하는 함수이며, Thread Sleep에 영향을 준다.
- 선언 timeBeginPeriod(UINT uPeriod)
- 해제 timeEndPeriod(UINT uPeriod)
- uPeriod 단위는 ms.
- timeGetTime Resolution을 1/1000으로 조정.
- 단점은 H/W에 좋지않은 영향을 끼치며, H/W가 지원한다면 되도록 QueryPerformanceFrequency를 사용.
MSDN : https://msdn.microsoft.com/en-us/library/dd757624(VS.85).aspx
[출처] timeBeginPeriod() / timeEndperiod() |작성자 eksrhdvh