/kernel/linux/linux-5.10/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;
|
/kernel/linux/linux-5.10/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 | imx-bus.c | 54 stat->total_time = 0; in imx_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 | 669 stat->total_time = tegra->devfreq->profile->polling_ms * cur_freq; in tegra_devfreq_get_dev_status() 671 stat->busy_time = min(stat->busy_time, stat->total_time); in tegra_devfreq_get_dev_status()
|
D | imx8m-ddrc.c | 289 stat->total_time = 0; in imx8m_ddrc_get_dev_status()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 61 return sysfs_emit(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show()
|
D | wakeup.c | 125 deleted_ws.total_time = in wakeup_source_record() 126 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record() 721 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate() 1059 ktime_t total_time; in print_wakeup_source_stats() local 1067 total_time = ws->total_time; in print_wakeup_source_stats() 1075 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats() 1089 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_devfreq.c | 66 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status() 76 status->busy_time, status->total_time, in panfrost_devfreq_get_dev_status() 77 status->busy_time / (status->total_time / 100), in panfrost_devfreq_get_dev_status()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_devfreq.c | 72 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, in lima_devfreq_get_dev_status() 81 status->busy_time, status->total_time, in lima_devfreq_get_dev_status() 82 status->busy_time / (status->total_time / 100), in lima_devfreq_get_dev_status()
|
/kernel/linux/linux-5.10/sound/soc/sprd/ |
D | sprd-pcm-dma.h | 19 int total_time; member
|
/kernel/linux/linux-5.10/tools/power/cpupower/lib/ |
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()
|
D | cpufreq.h | 170 unsigned long long *total_time);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | kvm-stat.h | 94 u64 total_time; member
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | devfreq_cooling.c | 273 dyn_power /= status->total_time; in devfreq_cooling_get_requested_power() 333 est_power = (dyn_power * status->total_time) / busy_time; in devfreq_cooling_power2state()
|
/kernel/linux/linux-5.10/include/linux/ |
D | pm_wakeup.h | 51 ktime_t total_time; member
|
D | devfreq.h | 61 unsigned long total_time; member
|