Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/Input/in_mp3/pdtimer.cpp

24 lines
323 B
C++
Raw Normal View History

2024-09-24 12:54:57 +00:00
#include "pdtimer.h"
__int64 pdReadResolution(void)
{
__int64 myfeq;
LARGE_INTEGER feq;
QueryPerformanceFrequency( &feq);
myfeq = feq.QuadPart;
return myfeq;
}
__int64 pdReadTimer(void)
{
__int64 mynow;
LARGE_INTEGER now;
QueryPerformanceCounter( &now );
mynow = now.QuadPart;
return mynow;
}