pub trait PhaseCgroupStatsClaim {
Show 17 methods
// Required methods
fn claim_num_workers<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, usize>;
fn claim_cpus_used<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> SetClaim<'a, usize>;
fn claim_wake_latencies_ns<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> SeqClaim<'a, u64>;
fn claim_wake_sample_total<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, u64>;
fn claim_timer_latencies_ns<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> SeqClaim<'a, u64>;
fn claim_timer_sample_total<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, u64>;
fn claim_run_delays_ns<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> SeqClaim<'a, u64>;
fn claim_off_cpu_pcts<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> SeqClaim<'a, f64>;
fn claim_total_migrations<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, u64>;
fn claim_total_iterations<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, u64>;
fn claim_total_cpu_time_ns<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, u64>;
fn claim_numa_pages_local<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, u64>;
fn claim_numa_pages_total<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, u64>;
fn claim_cross_node_migrated<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, u64>;
fn claim_max_gap_ms<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, u64>;
fn claim_max_gap_cpu<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, usize>;
fn claim_stripped<'a>(
&'a self,
verdict: &'a mut Verdict,
) -> ClaimBuilder<'a, bool>;
}Expand description
Pointwise-claim accessors generated by #[derive(Claim)] on PhaseCgroupStats. One claim_<field> method per public field, taking &mut Verdict as the accumulator; container fields (BTreeSet/Vec) route through SetClaim/SeqClaim. Method dispatch keys on the stats struct’s type, so identical field names across distinct stats structs do not collide. For prelude-exported stats types the trait is preluded, so use ktstr::prelude::* brings the accessors into scope; otherwise import the trait from the stats type’s module.