Searched refs:total_time (Results 1 - 19 of 19) sorted by relevance

/linux-4.1.27/drivers/devfreq/
H A Dgovernor_simpleondemand.c46 if (stat.total_time == 0) { devfreq_simple_ondemand_func()
52 if (stat.busy_time >= (1 << 24) || stat.total_time >= (1 << 24)) { devfreq_simple_ondemand_func()
54 stat.total_time >>= 7; devfreq_simple_ondemand_func()
59 stat.total_time * dfso_upthreshold) { devfreq_simple_ondemand_func()
72 stat.total_time * (dfso_upthreshold - dfso_downdifferential)) { devfreq_simple_ondemand_func()
80 b = div_u64(a, stat.total_time); devfreq_simple_ondemand_func()
H A Dtegra-devfreq.c528 stat->total_time = ACTMON_SAMPLING_PERIOD * tegra->cur_freq; tegra_devfreq_get_dev_status()
530 stat->busy_time = min(stat->busy_time, stat->total_time); tegra_devfreq_get_dev_status()
/linux-4.1.27/Documentation/laptops/
H A Ddslm.c77 time_t total_time = 0; measure() local
109 total_time = time(0) - start_time; measure()
113 tmp = (float)sleep_time / (float)total_time * 100; measure()
115 tmp = (float)active_time / (float)total_time * 100; measure()
117 tmp = (float)unknown_time / (float)total_time * 100; measure()
/linux-4.1.27/tools/power/cpupower/bench/
H A Dbenchmark.c29 #define show_progress(total_time, progress_time) \
32 (progress_time * 100) / total_time); \
98 unsigned long total_time = 0, progress_time = 0; start_benchmark() local
105 total_time += _round * (config->sleep + config->load); start_benchmark()
106 total_time *= 2; /* powersave and performance cycles */ start_benchmark()
112 show_progress(total_time, progress_time); start_benchmark()
155 show_progress(total_time, progress_time); start_benchmark()
/linux-4.1.27/tools/power/cpupower/lib/
H A Dcpufreq.c185 unsigned long long *total_time) cpufreq_get_stats()
187 return sysfs_get_freq_stats(cpu, total_time); cpufreq_get_stats()
184 cpufreq_get_stats(unsigned int cpu, unsigned long long *total_time) cpufreq_get_stats() argument
H A Dsysfs.c449 unsigned long long *total_time) { sysfs_get_freq_stats()
462 *total_time = 0; sysfs_get_freq_stats()
491 *total_time = *total_time + current->time_in_state; sysfs_get_freq_stats()
448 sysfs_get_freq_stats(unsigned int cpu, unsigned long long *total_time) sysfs_get_freq_stats() argument
H A Dcpufreq.h183 unsigned long long *total_time);
/linux-4.1.27/tools/power/cpupower/utils/
H A Dcpufreq-info.c254 unsigned long long total_time; debug_output_one() local
357 stats = cpufreq_get_stats(cpu, &total_time); debug_output_one()
362 printf(":%.2f%%", (100.0 * stats->time_in_state) / total_time); debug_output_one()
502 unsigned long long total_time; get_freq_stats() local
503 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); get_freq_stats()
508 (100.0 * stats->time_in_state) / total_time); get_freq_stats()
/linux-4.1.27/tools/perf/util/
H A Dkvm-stat.h90 u64 total_time; member in struct:perf_kvm_stat
/linux-4.1.27/include/linux/
H A Ddevfreq.h28 * @total_time: The total time represented by this instance of
31 * total_time.
41 unsigned long total_time; member in struct:devfreq_dev_status
100 * status of the device (load = busy_time / total_time).
H A Dpm_wakeup.h34 * @total_time: Total time this wakeup source has been active.
52 ktime_t total_time; member in struct:wakeup_source
/linux-4.1.27/drivers/base/power/
H A Dwakeup.c518 ws->total_time = ktime_add(ws->total_time, duration); wakeup_source_deactivate()
841 ktime_t total_time; print_wakeup_source_stats() local
849 total_time = ws->total_time; print_wakeup_source_stats()
857 total_time = ktime_add(total_time, active_time); print_wakeup_source_stats()
871 ktime_to_ms(active_time), ktime_to_ms(total_time), print_wakeup_source_stats()
H A Dsysfs.c466 msec = ktime_to_ms(dev->power.wakeup->total_time); wakeup_total_time_show()
/linux-4.1.27/tools/perf/
H A Dbuiltin-timechart.c95 u64 total_time; member in struct:per_pid
109 u64 total_time; member in struct:per_pidcomm
294 c->total_time += (end-start); pid_put_sample()
295 p->total_time += (end-start); pid_put_sample()
1289 if (c->total_time > 5000000000) /* 5 seconds */ draw_process_bars()
1290 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / 1000000000.0); draw_process_bars()
1292 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / 1000000.0); draw_process_bars()
1391 if (p->total_time >= threshold) determine_display_tasks()
1402 if (c->total_time >= threshold) { determine_display_tasks()
H A Dbuiltin-kvm.c504 kvm->total_time += get_event_time(event, vcpu); update_total_count()
611 pr_info("%8.2f%% ", (double)etime / kvm->total_time * 100); print_result()
620 kvm->total_count, kvm->total_time / 1e3); print_result()
865 kvm->total_time = 0; perf_kvm__handle_timerfd()
/linux-4.1.27/drivers/devfreq/exynos/
H A Dexynos5_bus.c162 stat->total_time = ppmu_data->ppmu[busier_dmc].ccnt; exynos5_int_get_dev_status()
H A Dexynos4_bus.c645 stat->total_time = ppmu_data->ppmu[busier].ccnt; exynos4_bus_get_dev_status()
/linux-4.1.27/drivers/usb/core/
H A Dhub.c897 int total_time; hub_usb3_port_disable() local
927 for (total_time = 0; ; total_time += HUB_DEBOUNCE_STEP) { hub_usb3_port_disable()
935 if (total_time >= HUB_DEBOUNCE_TIMEOUT) hub_usb3_port_disable()
939 if (total_time >= HUB_DEBOUNCE_TIMEOUT) hub_usb3_port_disable()
941 "Could not disable after %d ms\n", total_time); hub_usb3_port_disable()
4104 int total_time, stable_time = 0; hub_port_debounce() local
4107 for (total_time = 0; ; total_time += HUB_DEBOUNCE_STEP) { hub_port_debounce()
4129 if (total_time >= HUB_DEBOUNCE_TIMEOUT) hub_port_debounce()
4135 total_time, stable_time, portstatus); hub_port_debounce()
/linux-4.1.27/drivers/scsi/ufs/
H A Dufshcd.c5407 stat->total_time = jiffies_to_usecs((long)jiffies - ufshcd_devfreq_get_dev_status()

Completed in 856 milliseconds