/kernel/linux/linux-6.6/include/trace/events/ |
H A D | devfreq.h | 22 __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...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | devfreq.h | 19 __field(unsigned long, total_time) 27 __entry->total_time = devfreq->last_status.total_time; 34 __entry->total_time == 0 ? 0 : 35 (100 * __entry->busy_time) / __entry->total_time)
|
/kernel/linux/linux-5.10/drivers/devfreq/ |
H A D | governor_simpleondemand.c | 45 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()
|
/kernel/linux/linux-6.6/drivers/devfreq/ |
H A D | governor_simpleondemand.c | 45 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()
|
/kernel/linux/linux-5.10/tools/power/cpupower/bench/ |
H A D | benchmark.c | 16 #define show_progress(total_time, progress_time) \ 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()
|
/kernel/linux/linux-6.6/tools/power/cpupower/bench/ |
H A D | benchmark.c | 16 #define show_progress(total_time, progress_time) \ 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()
|
/kernel/linux/linux-5.10/tools/laptop/dslm/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/laptop/dslm/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/base/power/ |
H A D | wakeup_stats.c | 54 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 D | wakeup.c | 126 deleted_ws.total_time = in wakeup_source_record() 127 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() 1086 ktime_t total_time; in print_wakeup_source_stats() local 1094 total_time = ws->total_time; in print_wakeup_source_stats() 1102 total_time = ktime_add(total_time, active_tim in print_wakeup_source_stats() [all...] |
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | thermal_trace.h | 152 __field(u32, total_time) 160 __entry->total_time = status->total_time; 166 __entry->total_time == 0 ? 0 : 167 (100 * __entry->busy_time) / __entry->total_time,
|
H A D | devfreq_cooling.c | 42 * 'utilization' (which is 'busy_time' / 'total_time'). 166 if (status->total_time > 0xfffff) { in _normalize_load() 167 status->total_time >>= 10; in _normalize_load() 172 status->busy_time /= status->total_time ? : 1; in _normalize_load() 175 status->total_time = 1024; in _normalize_load()
|
/kernel/linux/linux-6.6/drivers/base/power/ |
H A D | wakeup_stats.c | 54 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 D | wakeup.c | 121 deleted_ws.total_time = in wakeup_source_record() 122 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record() 688 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate() 1055 ktime_t total_time; in print_wakeup_source_stats() local 1063 total_time = ws->total_time; in print_wakeup_source_stats() 1071 total_time = ktime_add(total_time, active_tim in print_wakeup_source_stats() [all...] |
/kernel/linux/linux-6.6/drivers/powercap/ |
H A D | dtpm_devfreq.c | 73 if (status->total_time > 0xfffff) { in _normalize_load() 74 status->total_time >>= 10; in _normalize_load() 79 status->busy_time /= status->total_time ? : 1; in _normalize_load() 82 status->total_time = 1024; in _normalize_load()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/ |
H A D | lima_devfreq.c | 67 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
H A D | panfrost_devfreq.c | 66 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status() 76 status->busy_time, status->total_time, in panfrost_devfreq_get_dev_status() 77 status->busy_time / (status->total_time / 100), in panfrost_devfreq_get_dev_status()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
H A D | lima_devfreq.c | 72 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, in lima_devfreq_get_dev_status() 81 status->busy_time, status->total_time, in lima_devfreq_get_dev_status() 82 status->busy_time / (status->total_time / 100), in lima_devfreq_get_dev_status()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/ |
H A D | panfrost_devfreq.c | 62 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status() 72 status->busy_time, status->total_time, in panfrost_devfreq_get_dev_status() 73 status->busy_time / (status->total_time / 100), in panfrost_devfreq_get_dev_status()
|
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/ |
H A D | lock_data.h | 31 u64 total_time; member
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | bpf_kwork.c | 38 u64 total_time; member 291 work->total_runtime = data->total_time; in add_work() 297 work->total_latency = data->total_time; in add_work()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_taprio.c | 221 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()
|
/kernel/linux/linux-5.10/sound/soc/sprd/ |
H A D | sprd-pcm-dma.h | 19 int total_time; member
|
/kernel/linux/linux-6.6/sound/soc/sprd/ |
H A D | sprd-pcm-dma.h | 19 int total_time; member
|
/kernel/linux/linux-5.10/tools/power/cpupower/lib/ |
H A D | cpufreq.h | 170 unsigned long long *total_time);
|