25 OutputDebugStringA(message);
28 OutputDebugString(_T(
"unexpected profiler failure\n"));
53 return (ft - 116444736000000000 + 10000000/2) / 10000000;
56 return (ft * 10000000) + 116444736000000000;
60 uint64_t ft = (uint64_t)ts.tv_sec * 10000000 + (uint64_t)ts.tv_nsec / 100;
61 return ft + 116444736000000000;
68 GetSystemTimeAsFileTime((FILETIME*)&ret);
pfc::string8 queryString(unsigned precision=6)
uint64_t fileTimeUtoW(uint64_t ft)
const char * get_ptr() const
uint64_t fileTimeWtoU(uint64_t ft)
profiler_static(const char *p_name)