Lines Matching defs:nsec
1450 static u64 perf_calculate_period(struct perf_event *event, u64 nsec, u64 count)
1459 nsec_fls = fls64(nsec);
1464 * We got @count in @nsec, with a target of sample_freq HZ
1469 * @nsec * sample_freq
1493 REDUCE_FLS(nsec, frequency);
1498 divisor = nsec * frequency;
1510 REDUCE_FLS(nsec, frequency);
1514 divisor = nsec * frequency;
1539 static void perf_adjust_period(struct perf_event *event, u64 nsec, u64 count)
1545 period = perf_calculate_period(event, nsec, count);