Home
last modified time | relevance | path

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

12

/linux/include/trace/events/
A Ddevfreq.h22 __field(unsigned long, total_time)
30 __entry->total_time = devfreq->last_status.total_time;
35 __entry->total_time == 0 ? 0 :
36 (100 * __entry->busy_time) / __entry->total_time)
47 __field(unsigned long, total_time)
55 __entry->total_time = devfreq->last_status.total_time;
62 __entry->total_time == 0 ? 0 :
63 (100 * __entry->busy_time) / __entry->total_time)
A Dthermal.h164 __field(u32, total_time)
172 __entry->total_time = status->total_time;
178 __entry->total_time == 0 ? 0 :
179 (100 * __entry->busy_time) / __entry->total_time,
/linux/tools/power/cpupower/bench/
A 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/drivers/devfreq/
A 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()
A Dexynos-bus.c131 stat->total_time = stat->busy_time = 0; in exynos_bus_get_dev_status()
136 stat->total_time = edata.total_count; in exynos_bus_get_dev_status()
139 stat->total_time); in exynos_bus_get_dev_status()
A Dtegra30-devfreq.c679 stat->total_time = tegra->devfreq->profile->polling_ms * cur_freq; in tegra_devfreq_get_dev_status()
681 stat->busy_time = min(stat->busy_time, stat->total_time); in tegra_devfreq_get_dev_status()
A Drk3399_dmc.c178 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
/linux/tools/laptop/dslm/
A 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/drivers/base/power/
A 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()
A Dwakeup.c125 deleted_ws.total_time = in wakeup_source_record()
126 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record()
722 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate()
1060 ktime_t total_time; in print_wakeup_source_stats() local
1068 total_time = ws->total_time; in print_wakeup_source_stats()
1076 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats()
1090 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
/linux/drivers/gpu/drm/panfrost/
A Dpanfrost_devfreq.c61 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status()
71 status->busy_time, status->total_time, in panfrost_devfreq_get_dev_status()
72 status->busy_time / (status->total_time / 100), in panfrost_devfreq_get_dev_status()
/linux/drivers/gpu/drm/lima/
A Dlima_devfreq.c67 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, in lima_devfreq_get_dev_status()
76 status->busy_time, status->total_time, in lima_devfreq_get_dev_status()
77 status->busy_time / (status->total_time / 100), in lima_devfreq_get_dev_status()
/linux/drivers/thermal/
A Ddevfreq_cooling.c164 if (status->total_time > 0xfffff) { in _normalize_load()
165 status->total_time >>= 10; in _normalize_load()
170 status->busy_time /= status->total_time ? : 1; in _normalize_load()
173 status->total_time = 1024; in _normalize_load()
/linux/tools/power/cpupower/lib/
A 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()
A Dcpufreq.h170 unsigned long long *total_time);
/linux/tools/power/cpupower/utils/
A Dcpufreq-info.c435 unsigned long long total_time; in get_freq_stats() local
436 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); in get_freq_stats()
441 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()
/linux/sound/soc/sprd/
A Dsprd-pcm-dma.h19 int total_time; member
/linux/tools/perf/
A 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()
A 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/lib/
A Dtest_rhashtable.c701 u64 total_time = 0; in test_rht_init() local
743 total_time += time; in test_rht_init()
751 do_div(total_time, runs); in test_rht_init()
752 pr_info("Average test time: %llu\n", total_time); in test_rht_init()
/linux/tools/perf/util/
A Dkvm-stat.h94 u64 total_time; member
/linux/include/linux/
A Dpm_wakeup.h51 ktime_t total_time; member
A Ddevfreq.h60 unsigned long total_time; member
/linux/drivers/gpu/drm/msm/
A Dmsm_gpu_devfreq.c75 status->total_time = ktime_us_delta(time, gpu->devfreq.time); in msm_devfreq_get_dev_status()
/linux/fs/f2fs/
A Dgc.c463 unsigned long long total_time; in atgc_lookup_victim() local
480 total_time = max_mtime - min_mtime; in atgc_lookup_victim()
482 accu = div64_u64(ULLONG_MAX, total_time); in atgc_lookup_victim()
498 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim()

Completed in 57 milliseconds

12