MCPcopy Create free account
hub / github.com/argumentcomputer/ix / bump

Function bump

crates/kernel/src/perf.rs:87–91  ·  view source on GitHub ↗
(counter: &AtomicU64)

Source from the content-addressed store, hash-verified

85/// collapses to a single branch + return.
86#[inline(always)]
87fn bump(counter: &AtomicU64) {
88 if enabled() {
89 counter.fetch_add(1, Ordering::Relaxed);
90 }
91}
92
93impl PerfCounters {
94 // -----------------------------------------------------------------------

Callers 15

record_whnf_hitMethod · 0.85
record_whnf_missMethod · 0.85
record_whnf_core_hitMethod · 0.85
record_whnf_core_missMethod · 0.85
record_infer_hitMethod · 0.85
record_infer_missMethod · 0.85
record_infer_only_hitMethod · 0.85
record_def_eq_hitMethod · 0.85
record_def_eq_missMethod · 0.85

Calls 1

enabledFunction · 0.85

Tested by

no test coverage detected