Home
last modified time | relevance | path

Searched refs:total_time (Results 1 – 17 of 17) sorted by relevance

/tools/power/cpupower/bench/
A Dbenchmark.c16 #define show_progress(total_time, progress_time) \ argument
19 (progress_time * 100) / total_time); \
85 unsigned long total_time = 0, progress_time = 0; in start_benchmark() local
92 total_time += _round * (config->sleep + config->load); in start_benchmark()
93 total_time *= 2; /* powersave and performance cycles */ in start_benchmark()
99 show_progress(total_time, progress_time); in start_benchmark()
142 show_progress(total_time, progress_time); in start_benchmark()
/tools/perf/util/
A Dbpf-trace-summary.c81 average = (double)stat->total_time / stat->count; in rel_stddev()
84 variance -= (stat->total_time * stat->total_time) / stat->count; in rel_stddev()
111 u64 total_time; member
120 return (*sa)->total_time > (*sb)->total_time ? -1 : 1; in datacmp()
128 return na->stats.total_time > nb->stats.total_time ? -1 : 1; in nodecmp()
148 double total = (double)(stat->total_time) / NSEC_PER_MSEC; in print_common_stats()
188 data->total_time += map_data->total_time; in update_thread_stats()
262 data->total_time += map_data->total_time; in update_total_stats()
267 stat->total_time += map_data->total_time; in update_total_stats()
321 data->total_time += map_data->total_time; in update_cgroup_stats()
A Dbpf_kwork.c38 u64 total_time; member
294 work->total_runtime = data->total_time; in add_work()
300 work->total_latency = data->total_time; in add_work()
A Dbpf_lock_contention.c469 stat_data.total_time += delta; in update_lock_stat()
692 st->wait_time_total = cdata.total_time; in pop_owner_stack_trace()
698 st->avg_wait_time = cdata.total_time / cdata.count; in pop_owner_stack_trace()
790 st->wait_time_total += data.total_time; in lock_contention_read()
808 st->wait_time_total = data.total_time; in lock_contention_read()
813 st->avg_wait_time = data.total_time / data.count; in lock_contention_read()
A Dkvm-stat.h99 u64 total_time; member
/tools/laptop/dslm/
A Ddslm.c77 time_t total_time = 0; in measure() local
109 total_time = time(0) - start_time; in measure()
113 tmp = (float)sleep_time / (float)total_time * 100; in measure()
115 tmp = (float)active_time / (float)total_time * 100; in measure()
117 tmp = (float)unknown_time / (float)total_time * 100; in measure()
/tools/perf/util/bpf_skel/
A Dsyscall_summary.h19 u64 total_time; member
A Dlock_data.h53 u64 total_time; member
A Dsyscall_summary.bpf.c91 __sync_fetch_and_add(&stats->total_time, duration); in update_stats()
A Dkwork_trace.bpf.c29 __u64 total_time; member
142 data->total_time += delta; in do_update_time()
A Dlock_contention.bpf.c491 __sync_fetch_and_add(&data->total_time, duration); in update_contention_data()
512 .total_time = duration, in update_owner_stat()
789 .total_time = duration, in contention_end()
/tools/power/cpupower/lib/
A Dcpufreq.h178 unsigned long long *total_time);
A Dcpufreq.c726 unsigned long long *total_time) in cpufreq_get_stats() argument
740 *total_time = 0; in cpufreq_get_stats()
769 *total_time = *total_time + current->time_in_state; in cpufreq_get_stats()
/tools/power/cpupower/utils/
A Dcpufreq-info.c405 unsigned long long total_time; in get_freq_stats() local
406 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); in get_freq_stats()
411 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()
/tools/perf/
A Dbuiltin-timechart.c100 u64 total_time; member
114 u64 total_time; member
306 c->total_time += (end-start); in pid_put_sample()
307 p->total_time += (end-start); in pid_put_sample()
1296 if (c->total_time > 5000000000) /* 5 seconds */ in draw_process_bars()
1297 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / (double)NSEC_PER_SEC); in draw_process_bars()
1299 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); in draw_process_bars()
1398 if (p->total_time >= threshold) in determine_display_tasks()
1409 if (c->total_time >= threshold) { in determine_display_tasks()
A Dbuiltin-kvm.c793 kvm->total_time += time_diff; in update_kvm_event()
1092 pr_info("%8.2f%% ", (double)etime / kvm->total_time * 100); in print_result()
1101 kvm->total_count, kvm->total_time / (double)NSEC_PER_USEC); in print_result()
1367 kvm->total_time = 0; in perf_kvm__handle_timerfd()
/tools/power/cpupower/bindings/python/
A Draw_pylibcpupower.swg131 unsigned long long *total_time);

Completed in 42 milliseconds