Home
last modified time | relevance | path

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

12

/linux/include/trace/events/
H 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)
[all...]
/linux/drivers/devfreq/
H 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()
H A Dsun8i-a33-mbus.c247 stat->total_time = priv->nominal_bw; in sun8i_a33_mbus_get_dram_status()
253 stat->busy_time, stat->total_time, in sun8i_a33_mbus_get_dram_status()
254 DIV_ROUND_CLOSEST(stat->busy_time * 100, stat->total_time), in sun8i_a33_mbus_get_dram_status()
H 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()
H A Drk3399_dmc.c232 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
/linux/tools/power/cpupower/bench/
H 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/tools/laptop/dslm/
H 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/
H 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()
H A Dwakeup.c121 deleted_ws.total_time = in wakeup_source_record()
122 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record()
691 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate()
1058 ktime_t total_time; in print_wakeup_source_stats() local
1066 total_time = ws->total_time; in print_wakeup_source_stats()
1074 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats()
1088 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
/linux/drivers/powercap/
H A Ddtpm_devfreq.c81 if (status->total_time > 0xfffff) { in _normalize_load()
82 status->total_time >>= 10; in _normalize_load()
87 status->busy_time /= status->total_time ? : 1; in _normalize_load()
90 status->total_time = 1024; in _normalize_load()
/linux/drivers/gpu/drm/lima/
H 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/gpu/drm/panthor/
H A Dpanthor_devfreq.c101 status->total_time = ktime_to_ns(ktime_add(pdevfreq->busy_time, in panthor_devfreq_get_dev_status()
111 status->busy_time, status->total_time, in panthor_devfreq_get_dev_status()
112 status->busy_time / (status->total_time / 100), in panthor_devfreq_get_dev_status()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_taprio.c221 u64 total_time = 0; in lan966x_taprio_check() local
252 total_time += qopt->entries[i].interval; in lan966x_taprio_check()
256 if (total_time > LAN966X_TAPRIO_MAX_CYCLE_TIME_NS) in lan966x_taprio_check()
262 if (qopt->cycle_time < total_time) in lan966x_taprio_check()
/linux/drivers/thermal/
H A Ddevfreq_cooling.c178 if (status->total_time > 0xfffff) { in _normalize_load()
179 status->total_time >>= 10; in _normalize_load()
184 status->busy_time /= status->total_time ? : 1; in _normalize_load()
187 status->total_time = 1024; in _normalize_load()
/linux/tools/perf/util/
H A Dbpf_kwork.c38 u64 total_time; member
294 work->total_runtime = data->total_time; in add_work()
300 work->total_latency = data->total_time; in add_work()
H A Dbpf_lock_contention.c361 stat_data.total_time += delta; in lock_contention_get_name()
620 st->wait_time_total += data.total_time;
638 st->wait_time_total = data.total_time;
643 st->avg_wait_time = data.total_time / data.count;
H A Dkvm-stat.h99 u64 total_time; member
/linux/tools/perf/util/bpf_skel/
H A Dlock_data.h46 u64 total_time;
38 u64 total_time; global() member
H A Dkwork_trace.bpf.c29 __u64 total_time; member
142 data->total_time += delta; in do_update_time()
H A Dlock_contention.bpf.c512 .total_time = duration, in contention_end()
559 __sync_fetch_and_add(&data->total_time, duration);
/linux/sound/soc/sprd/
H A Dsprd-pcm-dma.h19 int total_time; member
/linux/lib/
H A Dtest_rhashtable.c686 u64 total_time = 0; in test_rht_init() local
728 total_time += time; in test_rht_init()
736 do_div(total_time, runs); in test_rht_init()
737 pr_info("Average test time: %llu\n", total_time); in test_rht_init()
/linux/tools/power/cpupower/bindings/python/
H A Draw_pylibcpupower.i
/linux/include/linux/
H A Ddevfreq.h61 unsigned long total_time; member
/linux/drivers/memory/samsung/
H A Dexynos5422-dmc.c945 stat->total_time = dmc->total; in exynos5_dmc_get_status()
953 stat->total_time = total >> 10; in exynos5_dmc_get_status()

12