Lines Matching refs:last_sample
252 static struct TimeSampleAtomic last_sample; // the last sample; under seq variable
322 base_ns = last_sample.base_ns.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
323 base_cycles = last_sample.base_cycles.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
325 last_sample.nsscaled_per_cycle.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
327 last_sample.min_cycles_per_sample.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
410 ReadTimeSampleAtomic(&last_sample, &sample); in GetCurrentTimeNanosSlowPath()
450 last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample()
451 last_sample.base_ns.store(estimated_base_ns, std::memory_order_relaxed); in UpdateLastSample()
452 last_sample.base_cycles.store(now_cycles, std::memory_order_relaxed); in UpdateLastSample()
453 last_sample.nsscaled_per_cycle.store(0, std::memory_order_relaxed); in UpdateLastSample()
454 last_sample.min_cycles_per_sample.store(0, std::memory_order_relaxed); in UpdateLastSample()
498 last_sample.nsscaled_per_cycle.store( in UpdateLastSample()
502 last_sample.min_cycles_per_sample.store( in UpdateLastSample()
506 last_sample.nsscaled_per_cycle.store(0, std::memory_order_relaxed); in UpdateLastSample()
507 last_sample.min_cycles_per_sample.store(0, std::memory_order_relaxed); in UpdateLastSample()
511 last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample()
512 last_sample.base_ns.store(estimated_base_ns, std::memory_order_relaxed); in UpdateLastSample()
513 last_sample.base_cycles.store(now_cycles, std::memory_order_relaxed); in UpdateLastSample()