Home
last modified time | relevance | path

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

/third_party/boost/boost/chrono/detail/inlined/posix/
Dprocess_cpu_clocks.hpp25 inline nanoseconds::rep tick_factor() // multiplier to convert ticks in tick_factor() function
54 if ( chrono_detail::tick_factor() != -1 ) in now()
57 nanoseconds(c*chrono_detail::tick_factor())); in now()
92 if ( chrono_detail::tick_factor() != -1 ) in now()
99 nanoseconds(c*chrono_detail::tick_factor())); in now()
131 if ( chrono_detail::tick_factor() != -1 ) in now()
134 nanoseconds((tm.tms_utime + tm.tms_cutime)*chrono_detail::tick_factor())); in now()
168 if ( chrono_detail::tick_factor() != -1 ) in now()
175 nanoseconds((tm.tms_utime + tm.tms_cutime)*chrono_detail::tick_factor())); in now()
208 if ( chrono_detail::tick_factor() != -1 ) in now()
[all …]
/third_party/boost/libs/timer/src/
Dcpu_timer.cpp97 boost::int_least64_t tick_factor() // multiplier to convert ticks in tick_factor() function
100 static boost::int_least64_t tick_factor = 0; in tick_factor() local
101 if (!tick_factor) in tick_factor()
103 if ((tick_factor = ::sysconf(_SC_CLK_TCK)) <= 0) in tick_factor()
104 tick_factor = -1; in tick_factor()
107 tick_factor = INT64_C(1000000000) / tick_factor; // compute factor in tick_factor()
108 if (!tick_factor) in tick_factor()
109 tick_factor = -1; in tick_factor()
112 return tick_factor; in tick_factor()
149 if ((factor = tick_factor()) != -1) in get_cpu_times()
/third_party/boost/boost/chrono/detail/inlined/mac/
Dprocess_cpu_clocks.hpp28 inline long tick_factor() // multiplier to convert ticks in tick_factor() function
59 long factor = chrono_detail::tick_factor(); in now()
76 long factor = chrono_detail::tick_factor(); in now()
108 long factor = chrono_detail::tick_factor(); in now()
142 long factor = chrono_detail::tick_factor(); in now()
184 long factor = chrono_detail::tick_factor(); in now()
216 long factor = chrono_detail::tick_factor(); in now()
237 long factor = chrono_detail::tick_factor(); in now()
267 long factor = chrono_detail::tick_factor(); in now()
299 long factor = chrono_detail::tick_factor(); in now()
[all …]