Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/devfreq/
Dgovernor_simpleondemand.c49 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()
Dtegra-devfreq.c528 stat->total_time = ACTMON_SAMPLING_PERIOD * tegra->cur_freq; in tegra_devfreq_get_dev_status()
530 stat->busy_time = min(stat->busy_time, stat->total_time); in tegra_devfreq_get_dev_status()
/linux-4.4.14/tools/power/cpupower/bench/
Dbenchmark.c29 #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-4.4.14/Documentation/laptops/
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-4.4.14/drivers/base/power/
Dwakeup.c129 deleted_ws.total_time = in wakeup_source_record()
130 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record()
654 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate()
986 ktime_t total_time; in print_wakeup_source_stats() local
994 total_time = ws->total_time; in print_wakeup_source_stats()
1002 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats()
1016 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
Dsysfs.c466 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_show()
/linux-4.4.14/tools/perf/scripts/python/
Dcall-graph-from-postgresql.py173 total_time = 0
187 total_time += time
193 total_time += time
200 if total_time > self.time:
201 self.time = total_time
/linux-4.4.14/tools/power/cpupower/utils/
Dcpufreq-info.c254 unsigned long long total_time; in debug_output_one() local
357 stats = cpufreq_get_stats(cpu, &total_time); in debug_output_one()
362 printf(":%.2f%%", (100.0 * stats->time_in_state) / total_time); in debug_output_one()
502 unsigned long long total_time; in get_freq_stats() local
503 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); in get_freq_stats()
508 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()
/linux-4.4.14/lib/
Dtest_rhashtable.c307 u64 total_time = 0; in test_rht_init() local
339 total_time += time; in test_rht_init()
342 do_div(total_time, runs); in test_rht_init()
343 pr_info("Average test time: %llu\n", total_time); in test_rht_init()
/linux-4.4.14/tools/power/cpupower/lib/
Dcpufreq.c185 unsigned long long *total_time) in cpufreq_get_stats() argument
187 return sysfs_get_freq_stats(cpu, total_time); in cpufreq_get_stats()
Dsysfs.h21 unsigned long long *total_time);
Dsysfs.c449 unsigned long long *total_time) { in sysfs_get_freq_stats() argument
462 *total_time = 0; in sysfs_get_freq_stats()
491 *total_time = *total_time + current->time_in_state; in sysfs_get_freq_stats()
Dcpufreq.h183 unsigned long long *total_time);
/linux-4.4.14/tools/perf/util/
Dkvm-stat.h90 u64 total_time; member
/linux-4.4.14/tools/perf/
Dbuiltin-timechart.c95 u64 total_time; member
109 u64 total_time; member
294 c->total_time += (end-start); in pid_put_sample()
295 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 / 1000000000.0); in draw_process_bars()
1293 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / 1000000.0); in draw_process_bars()
1392 if (p->total_time >= threshold) in determine_display_tasks()
1403 if (c->total_time >= threshold) { in determine_display_tasks()
Dbuiltin-kvm.c503 kvm->total_time += get_event_time(event, vcpu); in update_total_count()
610 pr_info("%8.2f%% ", (double)etime / kvm->total_time * 100); in print_result()
619 kvm->total_count, kvm->total_time / 1e3); in print_result()
866 kvm->total_time = 0; in perf_kvm__handle_timerfd()
/linux-4.4.14/drivers/thermal/
Ddevfreq_cooling.c293 dyn_power = (dyn_power * status->busy_time) / status->total_time; in devfreq_cooling_get_requested_power()
345 dyn_power = (dyn_power * status->total_time) / busy_time; in devfreq_cooling_power2state()
/linux-4.4.14/include/linux/
Dpm_wakeup.h61 ktime_t total_time; member
Ddevfreq.h41 unsigned long total_time; member
/linux-4.4.14/include/trace/events/
Dthermal.h157 __entry->load = (100 * status->busy_time) / status->total_time;
/linux-4.4.14/drivers/usb/core/
Dhub.c898 int total_time; in hub_usb3_port_disable() local
928 for (total_time = 0; ; total_time += HUB_DEBOUNCE_STEP) { in hub_usb3_port_disable()
936 if (total_time >= HUB_DEBOUNCE_TIMEOUT) in hub_usb3_port_disable()
940 if (total_time >= HUB_DEBOUNCE_TIMEOUT) in hub_usb3_port_disable()
942 "Could not disable after %d ms\n", total_time); in hub_usb3_port_disable()
4144 int total_time, stable_time = 0; in hub_port_debounce() local
4147 for (total_time = 0; ; total_time += HUB_DEBOUNCE_STEP) { in hub_port_debounce()
4169 if (total_time >= HUB_DEBOUNCE_TIMEOUT) in hub_port_debounce()
4175 total_time, stable_time, portstatus); in hub_port_debounce()
/linux-4.4.14/drivers/devfreq/exynos/
Dexynos5_bus.c162 stat->total_time = ppmu_data->ppmu[busier_dmc].ccnt; in exynos5_int_get_dev_status()
Dexynos4_bus.c645 stat->total_time = ppmu_data->ppmu[busier].ccnt; in exynos4_bus_get_dev_status()
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.c5500 stat->total_time = jiffies_to_usecs((long)jiffies - in ufshcd_devfreq_get_dev_status()