| /Linux-v5.4/include/trace/events/ |
| D | devfreq.h | 19 __field(unsigned long, total_time) 27 __entry->total_time = devfreq->last_status.total_time; 34 __entry->total_time == 0 ? 0 : 35 (100 * __entry->busy_time) / __entry->total_time)
|
| D | thermal.h | 172 __entry->load = (100 * status->busy_time) / status->total_time;
|
| /Linux-v5.4/drivers/devfreq/ |
| D | governor_simpleondemand.c | 45 if (stat->total_time == 0) { in devfreq_simple_ondemand_func() 51 if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { in devfreq_simple_ondemand_func() 53 stat->total_time >>= 7; in devfreq_simple_ondemand_func() 58 stat->total_time * dfso_upthreshold) { in devfreq_simple_ondemand_func() 71 stat->total_time * (dfso_upthreshold - dfso_downdifferential)) { in devfreq_simple_ondemand_func() 79 b = div_u64(a, stat->total_time); in devfreq_simple_ondemand_func()
|
| D | exynos-bus.c | 130 stat->total_time = stat->busy_time = 0; in exynos_bus_get_dev_status() 135 stat->total_time = edata.total_count; in exynos_bus_get_dev_status() 138 stat->total_time); in exynos_bus_get_dev_status()
|
| D | tegra20-devfreq.c | 85 stat->total_time = readl_relaxed(tegra->regs + MC_STAT_EMC_CLOCKS) / 8; in tegra_devfreq_get_dev_status()
|
| D | tegra30-devfreq.c | 506 stat->total_time = ACTMON_SAMPLING_PERIOD * cur_freq; in tegra_devfreq_get_dev_status() 508 stat->busy_time = min(stat->busy_time, stat->total_time); in tegra_devfreq_get_dev_status()
|
| D | rk3399_dmc.c | 176 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/drivers/base/power/ |
| D | wakeup_stats.c | 54 ktime_t total_time = ws->total_time; in total_time_ms_show() local 58 total_time = ktime_add(total_time, active_time); in total_time_ms_show() 60 return sprintf(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show()
|
| D | wakeup.c | 122 deleted_ws.total_time = in wakeup_source_record() 123 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record() 662 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate() 1000 ktime_t total_time; in print_wakeup_source_stats() local 1008 total_time = ws->total_time; in print_wakeup_source_stats() 1016 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats() 1030 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
|
| D | sysfs.c | 441 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
|
| /Linux-v5.4/drivers/gpu/drm/panfrost/ |
| D | panfrost_devfreq.c | 97 status->total_time = ktime_to_ns(ktime_add(pfdev->devfreq.slot[0].busy_time, in panfrost_devfreq_get_dev_status() 111 status->total_time, in panfrost_devfreq_get_dev_status() 112 status->busy_time / (status->total_time / 100), in panfrost_devfreq_get_dev_status()
|
| /Linux-v5.4/tools/power/cpupower/lib/ |
| D | cpufreq.c | 641 unsigned long long *total_time) in cpufreq_get_stats() argument 655 *total_time = 0; in cpufreq_get_stats() 684 *total_time = *total_time + current->time_in_state; in cpufreq_get_stats()
|
| D | cpufreq.h | 164 unsigned long long *total_time);
|
| /Linux-v5.4/sound/soc/sprd/ |
| D | sprd-pcm-dma.h | 19 int total_time; member
|
| /Linux-v5.4/tools/power/cpupower/utils/ |
| D | cpufreq-info.c | 436 unsigned long long total_time; in get_freq_stats() local 437 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); in get_freq_stats() 442 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/lib/ |
| D | test_rhashtable.c | 700 u64 total_time = 0; in test_rht_init() local 742 total_time += time; in test_rht_init() 750 do_div(total_time, runs); in test_rht_init() 751 pr_info("Average test time: %llu\n", total_time); in test_rht_init()
|
| /Linux-v5.4/tools/perf/util/ |
| D | kvm-stat.h | 94 u64 total_time; member
|
| /Linux-v5.4/include/linux/ |
| D | pm_wakeup.h | 51 ktime_t total_time; member
|
| D | devfreq.h | 53 unsigned long total_time; member
|
| /Linux-v5.4/drivers/thermal/ |
| D | devfreq_cooling.c | 316 dyn_power /= status->total_time; in devfreq_cooling_get_requested_power() 378 est_power = (dyn_power * status->total_time) / busy_time; in devfreq_cooling_power2state()
|
| /Linux-v5.4/drivers/usb/core/ |
| D | hub.c | 4380 int total_time, stable_time = 0; in hub_port_debounce() local 4383 for (total_time = 0; ; total_time += HUB_DEBOUNCE_STEP) { in hub_port_debounce() 4405 if (total_time >= HUB_DEBOUNCE_TIMEOUT) in hub_port_debounce() 4411 total_time, stable_time, portstatus); in hub_port_debounce()
|