#include <windows.h>
double getTimeStamp()
{
LARGE_INTEGER counter = { 0 };
QueryPerformanceCounter(&counter);
LARGE_INTEGER freq = { 0 };
QueryPerformanceFrequency(&freq);
double result = (double)counter.QuadPart / (double)freq.QuadPart;
return result;
}
getTimeStamp( )
最新推荐文章于 2024-06-18 11:45:00 发布