Lines Matching defs:ns
79 struct timespec timespec_add(struct timespec ts, unsigned long long ns)
81 ts.tv_nsec += ns;
98 int nanosleep_lat_test(int clockid, long long ns)
104 target.tv_sec = ns/NSEC_PER_SEC;
105 target.tv_nsec = ns%NSEC_PER_SEC;
120 if (((timespec_sub(start, end)/count)-ns) > UNRESONABLE_LATENCY) {
121 ksft_print_msg("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns);
128 target = timespec_add(start, ns);
135 ksft_print_msg("Large abs latency: %lld ns :", latency/count);