Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/trace/events/
Ddevfreq.h19 __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)
Dthermal.h172 __entry->load = (100 * status->busy_time) / status->total_time;
/kernel/linux/linux-5.10/drivers/devfreq/
Dgovernor_simpleondemand.c45 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()
Dexynos-bus.c130 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()
Dimx-bus.c54 stat->total_time = 0; in imx_bus_get_dev_status()
Dtegra20-devfreq.c85 stat->total_time = readl_relaxed(tegra->regs + MC_STAT_EMC_CLOCKS) / 8; in tegra_devfreq_get_dev_status()
Dtegra30-devfreq.c669 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()
Dimx8m-ddrc.c289 stat->total_time = 0; in imx8m_ddrc_get_dev_status()
/kernel/linux/linux-5.10/tools/power/cpupower/bench/
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()
/kernel/linux/linux-5.10/tools/laptop/dslm/
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()
/kernel/linux/linux-5.10/drivers/base/power/
Dwakeup_stats.c54 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()
Dwakeup.c125 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/
Dpanfrost_devfreq.c66 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/
Dlima_devfreq.c72 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/
Dsprd-pcm-dma.h19 int total_time; member
/kernel/linux/linux-5.10/tools/power/cpupower/lib/
Dcpufreq.c699 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()
Dcpufreq.h170 unsigned long long *total_time);
/kernel/linux/linux-5.10/tools/power/cpupower/utils/
Dcpufreq-info.c436 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/
Dbuiltin-timechart.c97 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()
Dbuiltin-kvm.c534 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/
Dtest_rhashtable.c700 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/
Dkvm-stat.h94 u64 total_time; member
/kernel/linux/linux-5.10/drivers/thermal/
Ddevfreq_cooling.c273 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/
Dpm_wakeup.h51 ktime_t total_time; member
Ddevfreq.h61 unsigned long total_time; member

12