Home
last modified time | relevance | path

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

12

/Linux-v5.4/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;
/Linux-v5.4/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()
Dtegra20-devfreq.c85 stat->total_time = readl_relaxed(tegra->regs + MC_STAT_EMC_CLOCKS) / 8; in tegra_devfreq_get_dev_status()
Dtegra30-devfreq.c506 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()
Drk3399_dmc.c176 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
60 return sprintf(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show()
Dwakeup.c122 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()
Dsysfs.c441 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
/Linux-v5.4/drivers/gpu/drm/panfrost/
Dpanfrost_devfreq.c97 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/
Dcpufreq.c641 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()
Dcpufreq.h164 unsigned long long *total_time);
/Linux-v5.4/sound/soc/sprd/
Dsprd-pcm-dma.h19 int total_time; member
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/tools/perf/util/
Dkvm-stat.h94 u64 total_time; member
/Linux-v5.4/include/linux/
Dpm_wakeup.h51 ktime_t total_time; member
Ddevfreq.h53 unsigned long total_time; member
/Linux-v5.4/drivers/thermal/
Ddevfreq_cooling.c316 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/
Dhub.c4380 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()

12