/linux-master/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...] |
/linux-master/drivers/devfreq/ |
H A D | governor_simpleondemand.c | 45 if (stat->total_time == 0) { 51 if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { 53 stat->total_time >>= 7; 58 stat->total_time * dfso_upthreshold) { 71 stat->total_time * (dfso_upthreshold - dfso_downdifferential)) { 79 b = div_u64(a, stat->total_time);
|
H A D | sun8i-a33-mbus.c | 247 stat->total_time = priv->nominal_bw; 253 stat->busy_time, stat->total_time, 254 DIV_ROUND_CLOSEST(stat->busy_time * 100, stat->total_time),
|
H A D | exynos-bus.c | 131 stat->total_time = stat->busy_time = 0; 136 stat->total_time = edata.total_count; 139 stat->total_time);
|
/linux-master/tools/laptop/dslm/ |
H A D | dslm.c | 77 time_t total_time = 0; local 109 total_time = time(0) - start_time; 113 tmp = (float)sleep_time / (float)total_time * 100; 115 tmp = (float)active_time / (float)total_time * 100; 117 tmp = (float)unknown_time / (float)total_time * 100;
|
/linux-master/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; local 92 total_time += _round * (config->sleep + config->load); 93 total_time *= 2; /* powersave and performance cycles */ 99 show_progress(total_time, progress_time); 142 show_progress(total_time, progress_time);
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | lock_data.h | 38 u64 total_time; member in struct:contention_data
|
H A D | kwork_trace.bpf.c | 29 __u64 total_time; member in struct:report_data 141 data->total_time += delta;
|
/linux-master/sound/soc/sprd/ |
H A D | sprd-pcm-dma.h | 19 int total_time; member in struct:sprd_compr_playinfo
|
/linux-master/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'). 178 if (status->total_time > 0xfffff) { 179 status->total_time >>= 10; 184 status->busy_time /= status->total_time ? : 1; 187 status->total_time = 1024;
|
/linux-master/drivers/base/power/ |
H A D | wakeup_stats.c | 54 ktime_t total_time = ws->total_time; local 58 total_time = ktime_add(total_time, active_time); 61 return sysfs_emit(buf, "%lld\n", ktime_to_ms(total_time));
|
H A D | wakeup.c | 121 deleted_ws.total_time = 122 ktime_add(deleted_ws.total_time, ws->total_time); 688 ws->total_time = ktime_add(ws->total_time, duration); 1055 ktime_t total_time; local 1063 total_time = ws->total_time; 1071 total_time = ktime_add(total_time, active_tim [all...] |
/linux-master/tools/power/cpupower/lib/ |
H A D | cpufreq.h | 170 unsigned long long *total_time);
|
H A D | cpufreq.c | 708 unsigned long long *total_time) 722 *total_time = 0; 751 *total_time = *total_time + current->time_in_state; 707 cpufreq_get_stats(unsigned int cpu, unsigned long long *total_time) argument
|
/linux-master/drivers/powercap/ |
H A D | dtpm_devfreq.c | 81 if (status->total_time > 0xfffff) { 82 status->total_time >>= 10; 87 status->busy_time /= status->total_time ? : 1; 90 status->total_time = 1024;
|
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_devfreq.c | 67 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, 76 status->busy_time, status->total_time, 77 status->busy_time / (status->total_time / 100),
|
/linux-master/tools/perf/util/ |
H A D | bpf_kwork.c | 38 u64 total_time; member in struct:report_data 291 work->total_runtime = data->total_time; 297 work->total_latency = data->total_time;
|
H A D | kvm-stat.h | 99 u64 total_time; member in struct:perf_kvm_stat
|
H A D | bpf_lock_contention.c | 229 stat_data.total_time += delta; 478 st->wait_time_total += data.total_time; 496 st->wait_time_total = data.total_time; 501 st->avg_wait_time = data.total_time / data.count;
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_devfreq.c | 68 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, 78 status->busy_time, status->total_time, 79 status->busy_time / (status->total_time / 100),
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_taprio.c | 221 u64 total_time = 0; local 252 total_time += qopt->entries[i].interval; 256 if (total_time > LAN966X_TAPRIO_MAX_CYCLE_TIME_NS) 262 if (qopt->cycle_time < total_time)
|
/linux-master/tools/power/cpupower/utils/ |
H A D | cpufreq-info.c | 401 unsigned long long total_time; local 402 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); 407 (100.0 * stats->time_in_state) / total_time);
|
/linux-master/include/linux/ |
H A D | pm_wakeup.h | 30 * @total_time: Total time this wakeup source has been active. 51 ktime_t total_time; member in struct:wakeup_source
|
/linux-master/tools/perf/ |
H A D | builtin-timechart.c | 100 u64 total_time; member in struct:per_pid 114 u64 total_time; member in struct:per_pidcomm 306 c->total_time += (end-start); 307 p->total_time += (end-start); 1297 if (c->total_time > 5000000000) /* 5 seconds */ 1298 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / (double)NSEC_PER_SEC); 1300 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); 1399 if (p->total_time >= threshold) 1410 if (c->total_time >= threshold) {
|