Searched refs:NUM_SAMPLE_PERIODS (Results 1 – 1 of 1) sorted by relevance
43 #define NUM_SAMPLE_PERIODS 5 macro369 static DEFINE_PER_CPU(u8, cpustat_util[NUM_SAMPLE_PERIODS][NUM_STATS_PER_GROUP]);403 __this_cpu_write(cpustat_tail, (tail + 1) % NUM_SAMPLE_PERIODS); in update_cpustat()422 for (i = 0; i < NUM_SAMPLE_PERIODS; i++) { in print_cpustat()423 group = (tail + i) % NUM_SAMPLE_PERIODS; in print_cpustat()565 sample_period = get_softlockup_thresh() * ((u64)NSEC_PER_SEC / NUM_SAMPLE_PERIODS); in set_sample_period()643 if (time_after_eq(now, period_ts + get_softlockup_thresh() / NUM_SAMPLE_PERIODS) && in is_softlockup()