(&self, counter: Counter, n: u64)
| 368 | |
| 369 | #[inline] |
| 370 | pub(super) fn count(&self, counter: Counter, n: u64) { |
| 371 | if self.recording() { |
| 372 | self.with_buf(|buf| buf.counters[counter as usize] += n); |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | #[inline] |
| 377 | pub(super) fn count_cache_hit(&self, name: &'static str) { |