Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/powerpc/benchmarks/
H A 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()
H A 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()
/linux/tools/testing/selftests/powerpc/stringloops/
H A 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()
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A 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)
/linux/tools/perf/util/
H A Dbpf_kwork.c53 static struct timespec ts_start; variable
58 clock_gettime(CLOCK_MONOTONIC, &ts_start); in perf_kwork__trace_start()
309 kwork->timestart = (u64)ts_start.tv_sec * NSEC_PER_SEC + ts_start.tv_nsec; in add_work()
/linux/tools/testing/selftests/kvm/
H A 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()
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c137 struct timespec ts_start; in hog_cpus_timed()
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()
135 struct timespec ts_start; hog_cpus_timed() local
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_mac.h120 void ath9k_hw_setup_statusring(struct ath_hw *ah, void *ts_start,
H A Dar9003_mac.c608 void ath9k_hw_setup_statusring(struct ath_hw *ah, void *ts_start, in ath9k_hw_setup_statusring() argument
616 ah->ts_ring = ts_start; in ath9k_hw_setup_statusring()
/linux/drivers/staging/fbtft/
H A Dfbtft-core.c230 ktime_t ts_start, ts_end; in fbtft_update_display() local
240 ts_start = ktime_get(); in fbtft_update_display()
281 par->update_time = ts_start; in fbtft_update_display()
283 fps = ktime_us_delta(ts_start, par->update_time); in fbtft_update_display()
284 par->update_time = ts_start; in fbtft_update_display()
287 throughput = ktime_us_delta(ts_end, ts_start); in fbtft_update_display()