Searched refs:total_time (Results 1 – 8 of 8) sorted by relevance
/tools/power/cpupower/bench/ |
D | benchmark.c | 16 #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/laptop/dslm/ |
D | dslm.c | 77 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/power/cpupower/lib/ |
D | cpufreq.h | 170 unsigned long long *total_time);
|
D | cpufreq.c | 699 unsigned long long *total_time) in cpufreq_get_stats() argument 713 *total_time = 0; in cpufreq_get_stats() 742 *total_time = *total_time + current->time_in_state; in cpufreq_get_stats()
|
/tools/perf/util/ |
D | kvm-stat.h | 94 u64 total_time; member
|
/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 435 unsigned long long total_time; in get_freq_stats() local 436 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); in get_freq_stats() 441 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()
|
/tools/perf/ |
D | builtin-timechart.c | 97 u64 total_time; member 111 u64 total_time; member 296 c->total_time += (end-start); in pid_put_sample() 297 p->total_time += (end-start); in pid_put_sample() 1288 if (c->total_time > 5000000000) /* 5 seconds */ in draw_process_bars() 1289 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / (double)NSEC_PER_SEC); in draw_process_bars() 1291 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); in draw_process_bars() 1390 if (p->total_time >= threshold) in determine_display_tasks() 1401 if (c->total_time >= threshold) { in determine_display_tasks()
|
D | builtin-kvm.c | 534 kvm->total_time += get_event_time(event, vcpu); in update_total_count() 641 pr_info("%8.2f%% ", (double)etime / kvm->total_time * 100); in print_result() 650 kvm->total_count, kvm->total_time / (double)NSEC_PER_USEC); in print_result() 906 kvm->total_time = 0; in perf_kvm__handle_timerfd()
|