Lines Matching defs:nsecs
288 static void burn_nsecs(struct perf_sched *sched, u64 nsecs)
294 } while (T1 + sched->run_measurement_overhead < T0 + nsecs);
297 static void sleep_nsecs(u64 nsecs)
301 ts.tv_nsec = nsecs % 999999999;
302 ts.tv_sec = nsecs / 999999999;
321 printf("run measurement overhead: %" PRIu64 " nsecs\n", min_delta);
339 printf("sleep measurement overhead: %" PRIu64 " nsecs\n", min_delta);
805 printf("the run test took %" PRIu64 " nsecs\n", T1 - T0);
811 printf("the sleep test took %" PRIu64 " nsecs\n", T1 - T0);
868 pr_debug(" ... switch from %s/%d to %s/%d [ran %" PRIu64 " nsecs]\n",
1861 static inline void print_sched_time(unsigned long long nsecs, int width)
1866 msecs = nsecs / NSEC_PER_MSEC;
1867 nsecs -= msecs * NSEC_PER_MSEC;
1868 usecs = nsecs / NSEC_PER_USEC;