/linux-6.1.9/include/trace/events/ |
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)
|
D | thermal.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,
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_gpu_devfreq.c | 69 status->total_time = ktime_us_delta(time, df->time); in get_raw_dev_status() 112 if (div_u64(raw->total_time, USEC_PER_MSEC) >= polling_ms || in update_average_dev_status() 113 !avg->total_time) { in update_average_dev_status() 126 if (div_u64(avg->total_time + raw->total_time, USEC_PER_MSEC) >= in update_average_dev_status() 129 raw->total_time; in update_average_dev_status() 132 avg->total_time); in update_average_dev_status() 133 avg->total_time = new_total_time; in update_average_dev_status() 137 avg_freq = mul_u32_u32(avg->current_frequency, avg->total_time); in update_average_dev_status() 138 avg_freq += mul_u32_u32(raw->current_frequency, raw->total_time); in update_average_dev_status() 139 do_div(avg_freq, avg->total_time + raw->total_time); in update_average_dev_status() [all …]
|
/linux-6.1.9/drivers/devfreq/ |
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()
|
D | exynos-bus.c | 131 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()
|
D | sun8i-a33-mbus.c | 247 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()
|
/linux-6.1.9/tools/power/cpupower/bench/ |
D | benchmark.c | 16 #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-6.1.9/tools/laptop/dslm/ |
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()
|
/linux-6.1.9/drivers/base/power/ |
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()
|
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() 693 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-6.1.9/drivers/powercap/ |
D | dtpm_devfreq.c | 78 if (status->total_time > 0xfffff) { in _normalize_load() 79 status->total_time >>= 10; in _normalize_load() 84 status->busy_time /= status->total_time ? : 1; in _normalize_load() 87 status->total_time = 1024; in _normalize_load()
|
/linux-6.1.9/tools/perf/util/bpf_skel/ |
D | lock_contention.bpf.c | 19 __u64 total_time; member 151 .total_time = duration, in contention_end() 163 __sync_fetch_and_add(&data->total_time, duration); in contention_end()
|
D | kwork_trace.bpf.c | 29 __u64 total_time; member 141 data->total_time += delta; in do_update_time()
|
/linux-6.1.9/drivers/gpu/drm/lima/ |
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()
|
/linux-6.1.9/tools/perf/util/ |
D | bpf_lock_contention.c | 19 u64 total_time; member 135 st->wait_time_total = data.total_time; in lock_contention_read() 140 st->avg_wait_time = data.total_time / data.count; in lock_contention_read()
|
D | bpf_kwork.c | 35 u64 total_time; member 288 work->total_runtime = data->total_time; in add_work() 294 work->total_latency = data->total_time; in add_work()
|
/linux-6.1.9/drivers/gpu/drm/panfrost/ |
D | panfrost_devfreq.c | 61 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-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
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()
|
/linux-6.1.9/drivers/thermal/ |
D | devfreq_cooling.c | 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()
|
/linux-6.1.9/sound/soc/sprd/ |
D | sprd-pcm-dma.h | 19 int total_time; member
|
/linux-6.1.9/tools/power/cpupower/lib/ |
D | cpufreq.c | 708 unsigned long long *total_time) in cpufreq_get_stats() argument 722 *total_time = 0; in cpufreq_get_stats() 751 *total_time = *total_time + current->time_in_state; in cpufreq_get_stats()
|
D | cpufreq.h | 170 unsigned long long *total_time);
|
/linux-6.1.9/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 401 unsigned long long total_time; in get_freq_stats() local 402 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); in get_freq_stats() 407 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()
|
/linux-6.1.9/tools/perf/ |
D | builtin-timechart.c | 99 u64 total_time; member 113 u64 total_time; member 305 c->total_time += (end-start); in pid_put_sample() 306 p->total_time += (end-start); in pid_put_sample() 1293 if (c->total_time > 5000000000) /* 5 seconds */ in draw_process_bars() 1294 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / (double)NSEC_PER_SEC); in draw_process_bars() 1296 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); in draw_process_bars() 1395 if (p->total_time >= threshold) in determine_display_tasks() 1406 if (c->total_time >= threshold) { in determine_display_tasks()
|
/linux-6.1.9/lib/ |
D | test_rhashtable.c | 687 u64 total_time = 0; in test_rht_init() local 729 total_time += time; in test_rht_init() 737 do_div(total_time, runs); in test_rht_init() 738 pr_info("Average test time: %llu\n", total_time); in test_rht_init()
|