thread_count

Function thread_count 

Source
pub fn thread_count(metrics: &PayloadMetrics) -> usize
Expand description

Count the number of snapshots.0.threads.N.{Ok,Err}.tid entries in the flat metric list, capped at MAX_SCAN_INDEX. Each index carries exactly one variant wrapper (Ok or Err); the count terminates at the first index where neither exists.