/Linux-v4.19/drivers/devfreq/ |
D | governor_simpleondemand.c | 49 if (stat->total_time == 0) { in devfreq_simple_ondemand_func() 55 if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { in devfreq_simple_ondemand_func() 57 stat->total_time >>= 7; in devfreq_simple_ondemand_func() 62 stat->total_time * dfso_upthreshold) { in devfreq_simple_ondemand_func() 75 stat->total_time * (dfso_upthreshold - dfso_downdifferential)) { in devfreq_simple_ondemand_func() 83 b = div_u64(a, stat->total_time); in devfreq_simple_ondemand_func()
|
D | exynos-bus.c | 168 stat->total_time = stat->busy_time = 0; in exynos_bus_get_dev_status() 173 stat->total_time = edata.total_count; in exynos_bus_get_dev_status() 176 stat->total_time); in exynos_bus_get_dev_status()
|
D | tegra-devfreq.c | 529 stat->total_time = ACTMON_SAMPLING_PERIOD * tegra->cur_freq; in tegra_devfreq_get_dev_status() 531 stat->busy_time = min(stat->busy_time, stat->total_time); in tegra_devfreq_get_dev_status()
|
D | rk3399_dmc.c | 163 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
|
/Linux-v4.19/tools/power/cpupower/bench/ |
D | benchmark.c | 29 #define show_progress(total_time, progress_time) \ argument 32 (progress_time * 100) / total_time); \ 98 unsigned long total_time = 0, progress_time = 0; in start_benchmark() local 105 total_time += _round * (config->sleep + config->load); in start_benchmark() 106 total_time *= 2; /* powersave and performance cycles */ in start_benchmark() 112 show_progress(total_time, progress_time); in start_benchmark() 155 show_progress(total_time, progress_time); in start_benchmark()
|
/Linux-v4.19/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-v4.19/drivers/base/power/ |
D | wakeup.c | 136 deleted_ws.total_time = in wakeup_source_record() 137 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record() 652 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate() 992 ktime_t total_time; in print_wakeup_source_stats() local 1000 total_time = ws->total_time; in print_wakeup_source_stats() 1008 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats() 1022 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
|
D | sysfs.c | 445 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
|
/Linux-v4.19/tools/perf/scripts/python/ |
D | call-graph-from-sql.py | 174 total_time = 0 188 total_time += time 194 total_time += time 201 if total_time > self.time: 202 self.time = total_time
|
/Linux-v4.19/tools/power/cpupower/lib/ |
D | cpufreq.c | 639 unsigned long long *total_time) in cpufreq_get_stats() argument 653 *total_time = 0; in cpufreq_get_stats() 682 *total_time = *total_time + current->time_in_state; in cpufreq_get_stats()
|
D | cpufreq.h | 172 unsigned long long *total_time);
|
/Linux-v4.19/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 413 unsigned long long total_time; in get_freq_stats() local 414 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); in get_freq_stats() 419 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()
|
/Linux-v4.19/tools/perf/ |
D | builtin-timechart.c | 99 u64 total_time; member 113 u64 total_time; member 298 c->total_time += (end-start); in pid_put_sample() 299 p->total_time += (end-start); in pid_put_sample() 1290 if (c->total_time > 5000000000) /* 5 seconds */ in draw_process_bars() 1291 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / (double)NSEC_PER_SEC); in draw_process_bars() 1293 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); in draw_process_bars() 1392 if (p->total_time >= threshold) in determine_display_tasks() 1403 if (c->total_time >= threshold) { in determine_display_tasks()
|
D | builtin-kvm.c | 528 kvm->total_time += get_event_time(event, vcpu); in update_total_count() 635 pr_info("%8.2f%% ", (double)etime / kvm->total_time * 100); in print_result() 644 kvm->total_count, kvm->total_time / (double)NSEC_PER_USEC); in print_result() 899 kvm->total_time = 0; in perf_kvm__handle_timerfd()
|
/Linux-v4.19/tools/perf/util/ |
D | kvm-stat.h | 91 u64 total_time; member
|
/Linux-v4.19/lib/ |
D | test_rhashtable.c | 698 u64 total_time = 0; in test_rht_init() local 740 total_time += time; in test_rht_init() 748 do_div(total_time, runs); in test_rht_init() 749 pr_info("Average test time: %llu\n", total_time); in test_rht_init()
|
/Linux-v4.19/include/linux/ |
D | pm_wakeup.h | 61 ktime_t total_time; member
|
D | devfreq.h | 56 unsigned long total_time; member
|
/Linux-v4.19/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-v4.19/include/trace/events/ |
D | thermal.h | 172 __entry->load = (100 * status->busy_time) / status->total_time;
|
/Linux-v4.19/drivers/usb/core/ |
D | hub.c | 4313 int total_time, stable_time = 0; in hub_port_debounce() local 4316 for (total_time = 0; ; total_time += HUB_DEBOUNCE_STEP) { in hub_port_debounce() 4338 if (total_time >= HUB_DEBOUNCE_TIMEOUT) in hub_port_debounce() 4344 total_time, stable_time, portstatus); in hub_port_debounce()
|
/Linux-v4.19/drivers/gpu/drm/msm/ |
D | msm_gpu.c | 66 status->total_time = ktime_us_delta(time, gpu->devfreq.time); in msm_devfreq_get_dev_status()
|
/Linux-v4.19/drivers/scsi/ufs/ |
D | ufshcd.c | 1310 stat->total_time = jiffies_to_usecs((long)jiffies - in ufshcd_devfreq_get_dev_status()
|