5 #ifdef PFC_HAVE_PROFILER 25 OutputDebugStringA(message);
28 OutputDebugString(_T(
"unexpected profiler failure\n"));
43 double r = t - m_start;
54 return (ft - 116444736000000000 + 10000000/2) / 10000000;
57 return (ft * 10000000) + 116444736000000000;
61 uint64_t ft = (uint64_t)ts.tv_sec * 10000000 + (uint64_t)ts.tv_nsec / 100;
62 return ft + 116444736000000000;
69 GetSystemTimeAsFileTime((FILETIME*)&ret);
pfc::string8 queryString(unsigned precision=6)
uint64_t fileTimeUtoW(uint64_t ft)
uint64_t fileTimeWtoU(uint64_t ft)
profiler_static(const char *p_name)