Home
last modified time | relevance | path

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

/netbsd-src/usr.sbin/tprof/
H A Dtprof_top.c112 static u_int *sample_cpu_width; /* [ncpu] */ variable
367 sample_cpu_width = ecalloc(1, sizeof(*sample_cpu_width) * ncpu); in sample_init()
369 sample_cpu_width[n] = 5; in sample_init()
371 if (sample_cpu_width[n] < (u_int)l) in sample_init()
372 sample_cpu_width[n] = l; in sample_init()
666 if (sample_cpu_width[n] < (u_int)l) { in show_count_per_event()
667 sample_cpu_width[n] = l; in show_count_per_event()
678 lim_printf(lim, " %*s", sample_cpu_width[n], buf); in show_count_per_event()
687 sample_cpu_width[n], sample_cpu_width[n], LINESTR); in show_count_per_event()
707 lim_printf(lim, " %*"PRIu64, sample_cpu_width[n], in show_count_per_event()
[all …]