Searched refs:tick_factor (Results 1 – 3 of 3) sorted by relevance
25 inline nanoseconds::rep tick_factor() // multiplier to convert ticks in tick_factor() function54 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 …]
97 boost::int_least64_t tick_factor() // multiplier to convert ticks in tick_factor() function100 static boost::int_least64_t tick_factor = 0; in tick_factor() local101 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()
28 inline long tick_factor() // multiplier to convert ticks in tick_factor() function59 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 …]