Searched refs:ticks_per_sec (Results 1 – 3 of 3) sorted by relevance
64 static int64_t ticks_per_sec = 0;65 if (!ticks_per_sec) {69 ticks_per_sec = LargeIntegerToInt64(freq);73 return (dt * 1000000) / ticks_per_sec;
34 static gint ticks_per_sec; variable108 dur = (gdouble) (time_data.tms_utime + time_data.tms_stime) / ticks_per_sec; in run_tests()115 dur = (gdouble) (time_data.tms_utime + time_data.tms_stime) / ticks_per_sec; in run_tests()126 ticks_per_sec = sysconf (_SC_CLK_TCK); in main()
651 LARGE_INTEGER ticks_per_sec = {}; in InitializeTimeTicksNowFunctionPointer() local652 if (!QueryPerformanceFrequency(&ticks_per_sec)) ticks_per_sec.QuadPart = 0; in InitializeTimeTicksNowFunctionPointer()667 if (ticks_per_sec.QuadPart <= 0 || !cpu.has_non_stop_time_stamp_counter()) { in InitializeTimeTicksNowFunctionPointer()682 g_qpc_ticks_per_second = ticks_per_sec.QuadPart; in InitializeTimeTicksNowFunctionPointer()