Home
last modified time | relevance | path

Searched refs:ts_start (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/powerpc/benchmarks/
Dfutex_bench.c22 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()
Dmmap_bench.c36 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/
Dstrlen.c38 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/
DSchedGui.py33 (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/
Dbpf_kwork.c53 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/
Daccess_tracking_perf_test.c264 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/
Dtest_cpu.c137 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()