Lines Matching refs:nsscaled_per_cycle
158 std::atomic<uint64_t> nsscaled_per_cycle{0}; // cycle period member
168 uint64_t nsscaled_per_cycle = 0; // cycle period member
267 sample->nsscaled_per_cycle = in ReadTimeSampleAtomic()
268 atomic->nsscaled_per_cycle.load(std::memory_order_relaxed); in ReadTimeSampleAtomic()
308 uint64_t nsscaled_per_cycle; in GetCurrentTimeNanos() local
329 nsscaled_per_cycle = in GetCurrentTimeNanos()
330 time_state.last_sample.nsscaled_per_cycle.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
359 return base_ns + ((delta_cycles * nsscaled_per_cycle) >> kScale); in GetCurrentTimeNanos()
426 ((delta_cycles * sample.nsscaled_per_cycle) >> kScale); in GetCurrentTimeNanosSlowPath()
462 time_state.last_sample.nsscaled_per_cycle.store(0, in UpdateLastSample()
470 if (sample->nsscaled_per_cycle != 0) { // Have a cycle time estimate. in UpdateLastSample()
477 estimated_scaled_ns = (delta_cycles >> s) * sample->nsscaled_per_cycle; in UpdateLastSample()
478 } while (estimated_scaled_ns / sample->nsscaled_per_cycle != in UpdateLastSample()
509 time_state.last_sample.nsscaled_per_cycle.store( in UpdateLastSample()
517 time_state.last_sample.nsscaled_per_cycle.store( in UpdateLastSample()