Track process_sampler state for CPU sampling (#1993)

This commit is contained in:
marantic-amd
2025-11-24 15:03:08 +01:00
committed by GitHub
parent a5d554b85a
commit ebd55d2ce0
@@ -254,6 +254,8 @@ config()
void
sample()
{
if(get_state() >= State::Finalized) return;
auto _timestamp = tim::get_clock_real_now<size_t, std::nano>();
auto _rcache = tim::rusage_cache{ RUSAGE_SELF };