Home
last modified time | relevance | path

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

/tools/power/cpupower/utils/idle_monitor/
A Dmperf_monitor.c36 static struct timespec *time_start, *time_end; variable
177 timediff = max_frequency * timespec_diff_us(time_start[cpu], time_end[cpu]); in mperf_get_count_percent()
210 time_diff = timespec_diff_us(time_start[cpu], time_end[cpu]); in mperf_get_count_freq()
230 clock_gettime(CLOCK_REALTIME, &time_start[cpu]); in mperf_start()
351 time_start = calloc(cpu_count, sizeof(struct timespec)); in mperf_register()
365 free(time_start); in mperf_unregister()
/tools/perf/util/bpf_skel/
A Dkwork_trace.bpf.c118 __u64 time_start, __u64 time_end) in do_update_time() argument
121 __s64 delta = time_end - time_start; in do_update_time()
138 data->max_time_start = time_start; in do_update_time()
/tools/testing/selftests/kvm/
A Dmmu_stress_test.c282 struct timespec time_start, time_run1, time_reset, time_run2, time_ro, time_rw; in main() local
381 rendezvous_with_vcpus(&time_start, "spawning"); in main()
398 time_run1 = timespec_sub(time_run1, time_start); in main()
/tools/testing/selftests/net/bench/page_pool/
A Dtime_bench.h42 uint64_t time_start, time_stop, time_interval; /* in nanosec */ member
A Dtime_bench.c153 rec->time_start = rec->ts_start.tv_nsec + in time_bench_calc_stats()
157 rec->time_interval = rec->time_stop - rec->time_start; in time_bench_calc_stats()
/tools/testing/selftests/net/mptcp/
A Dmptcp_connect.sh11 time_start=$(date +%s)
825 time_run=$((time_end-time_start))
/tools/perf/
A Dbuiltin-stat.c554 static void compute_tts(struct timespec *time_start, struct timespec *time_stop, in compute_tts() argument
560 diff_timespec(&time_diff, time_stop, time_start); in compute_tts()
575 struct timespec time_start, time_stop; in dispatch_events() local
595 clock_gettime(CLOCK_MONOTONIC, &time_start); in dispatch_events()
603 compute_tts(&time_start, &time_stop, &time_to_sleep); in dispatch_events()

Completed in 15 milliseconds