Home
last modified time | relevance | path

Searched refs:ticks_per_sec (Results 1 – 3 of 3) sorted by relevance

/third_party/ninja/src/
Dmetrics.cc64 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;
/third_party/gstreamer/gstreamer/tests/examples/adapter/
Dadapter_test.c34 static gint ticks_per_sec; variable
108 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()
/third_party/node/deps/v8/src/base/platform/
Dtime.cc651 LARGE_INTEGER ticks_per_sec = {}; in InitializeTimeTicksNowFunctionPointer() local
652 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()