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