Searched refs:ts_start (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/powerpc/benchmarks/ |
D | futex_bench.c | 22 struct timespec ts_start, ts_end; in test_futex() local 25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex() 34 …printf("time = %.6f\n", ts_end.tv_sec - ts_start.tv_sec + (ts_end.tv_nsec - ts_start.tv_nsec) / 1e… in test_futex()
|
D | mmap_bench.c | 36 struct timespec ts_start, ts_end; in test_mmap() local 39 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap() 55 …printf("time = %.6f\n", ts_end.tv_sec - ts_start.tv_sec + (ts_end.tv_nsec - ts_start.tv_nsec) / 1e… in test_mmap()
|
/tools/testing/selftests/powerpc/stringloops/ |
D | strlen.c | 38 struct timespec ts_start, ts_end; in bench_test() local 41 clock_gettime(CLOCK_MONOTONIC, &ts_start); in bench_test() 48 ….3d : time = %.6f\n", test_strlen(s), ts_end.tv_sec - ts_start.tv_sec + (ts_end.tv_nsec - ts_start… in bench_test()
|
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | SchedGui.py | 33 (self.ts_start, self.ts_end) = sched_tracer.interval() 80 offset_px = self.us_to_px(start - self.ts_start) 81 width_px = self.us_to_px(end - self.ts_start) 104 start += self.ts_start 105 end += self.ts_start 140 t = self.px_to_us(x) + self.ts_start 146 self.width_virtual = self.us_to_px(self.ts_end - self.ts_start)
|
/tools/perf/util/ |
D | bpf_kwork.c | 53 static struct timespec ts_start; variable 58 clock_gettime(CLOCK_MONOTONIC, &ts_start); in perf_kwork__trace_start() 306 kwork->timestart = (u64)ts_start.tv_sec * NSEC_PER_SEC + ts_start.tv_nsec; in add_work()
|
/tools/testing/selftests/kvm/ |
D | access_tracking_perf_test.c | 264 struct timespec ts_start; in run_iteration() local 271 clock_gettime(CLOCK_MONOTONIC, &ts_start); in run_iteration() 277 ts_elapsed = timespec_elapsed(ts_start); in run_iteration()
|
/tools/testing/selftests/cgroup/ |
D | test_cpu.c | 137 struct timespec ts_start; in hog_cpus_timed() local 140 ret = clock_gettime(CLOCK_MONOTONIC, &ts_start); in hog_cpus_timed() 170 ts_total = timespec_sub(&ts_current, &ts_start); in hog_cpus_timed()
|