Home
last modified time | relevance | path

Searched refs:sample_n_per_event_cpu (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/usr.sbin/tprof/
H A Dtprof_top.c116 static uint64_t *sample_n_per_event_cpu[SAMPLE_MODE_NUM]; /* [ncpu] */ variable
382 sample_n_per_event_cpu[mode] = ecalloc(1, in sample_init()
383 sizeof(typeof(*sample_n_per_event_cpu[mode])) * in sample_init()
415 memset(sample_n_per_event_cpu[mode], 0, in sample_reset()
416 sizeof(typeof(*sample_n_per_event_cpu[mode])) * in sample_reset()
485 sample_n_per_event_cpu[mode][nevent * cpuid + eventid]++; in sample_collect()
664 sum += sample_n_per_event_cpu[opt_mode][nevent * n + i]; in show_count_per_event()
708 sample_n_per_event_cpu[opt_mode][nevent * n + i]); in show_count_per_event()