| /linux/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/tools/perf/util/ |
| H A D | bpf-trace-summary.c | 82 average = (double)stat->total_time / stat->count; in rel_stddev() 85 variance -= (stat->total_time * stat->total_time) / stat->count; in rel_stddev() 112 u64 total_time; member 121 return (*sa)->total_time > (*sb)->total_time ? -1 : 1; in datacmp() 129 return na->stats.total_time > nb->stats.total_time ? -1 : 1; in nodecmp() 152 double total = (double)(stat->total_time) / NSEC_PER_MSEC; in print_common_stats() 192 data->total_time += map_data->total_time; in update_thread_stats() 266 data->total_time += map_data->total_time; in update_total_stats() 271 stat->total_time += map_data->total_time; in update_total_stats() 328 data->total_time += map_data->total_time; in update_cgroup_stats()
|
| H A D | bpf_lock_contention.c | 472 stat_data.total_time += delta; in update_lock_stat() 695 st->wait_time_total = cdata.total_time; in pop_owner_stack_trace() 701 st->avg_wait_time = cdata.total_time / cdata.count; in pop_owner_stack_trace() 790 st->wait_time_total += data.total_time; in lock_contention_read() 808 st->wait_time_total = data.total_time; in lock_contention_read() 813 st->avg_wait_time = data.total_time / data.count; in lock_contention_read()
|
| H A D | kvm-stat.h | 100 u64 total_time; member
|
| /linux/tools/power/cpupower/bench/ |
| H A 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/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()
|
| /linux/drivers/base/power/ |
| H A D | wakeup_stats.c | 55 ktime_t total_time = ws->total_time; in total_time_ms_show() local 59 total_time = ktime_add(total_time, active_time); in total_time_ms_show() 62 return sysfs_emit(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show()
|
| /linux/drivers/powercap/ |
| H A D | dtpm_devfreq.c | 81 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 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/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()
|
| /linux/drivers/thermal/ |
| H A D | devfreq_cooling.c | 178 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/bpf_skel/ |
| H A D | syscall_summary.h | 19 u64 total_time; member
|
| H A D | lock_data.h | 53 u64 total_time; member
|
| H A D | kwork_trace.bpf.c | 29 __u64 total_time; member 142 data->total_time += delta; in do_update_time()
|
| H A D | syscall_summary.bpf.c | 91 __sync_fetch_and_add(&stats->total_time, duration); in update_stats()
|
| H A D | lock_contention.bpf.c | 491 __sync_fetch_and_add(&data->total_time, duration); in update_contention_data() 512 .total_time = duration, in update_owner_stat() 789 .total_time = duration, in contention_end()
|
| /linux/drivers/devfreq/ |
| H A 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()
|
| H A D | rk3399_dmc.c | 232 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
|
| /linux/tools/power/cpupower/utils/ |
| H A D | cpufreq-info.c | 419 unsigned long long total_time; in get_freq_stats() local 420 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); in get_freq_stats() 425 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()
|
| /linux/tools/perf/ |
| H A D | builtin-timechart.c | 100 u64 total_time; member 114 u64 total_time; member 306 c->total_time += (end-start); in pid_put_sample() 307 p->total_time += (end-start); in pid_put_sample() 1296 if (c->total_time > 5000000000) /* 5 seconds */ in draw_process_bars() 1297 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / (double)NSEC_PER_SEC); in draw_process_bars() 1299 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); in draw_process_bars() 1398 if (p->total_time >= threshold) in determine_display_tasks() 1409 if (c->total_time >= threshold) { in determine_display_tasks()
|
| H A D | builtin-kvm.c | 793 kvm->total_time += time_diff; in update_kvm_event() 1092 pr_info("%8.2f%% ", (double)etime / kvm->total_time * 100); in print_result() 1101 kvm->total_count, kvm->total_time / (double)NSEC_PER_USEC); in print_result() 1367 kvm->total_time = 0; in perf_kvm__handle_timerfd()
|
| /linux/lib/ |
| H A D | test_rhashtable.c | 686 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 D | raw_pylibcpupower.i | |
| /linux/include/linux/ |
| H A D | devfreq.h | 61 unsigned long total_time; member
|
| /linux/fs/f2fs/ |
| H A D | gc.c | 556 unsigned long long total_time; in atgc_lookup_victim() local 573 total_time = max_mtime - min_mtime; in atgc_lookup_victim() 575 accu = div64_u64(ULLONG_MAX, total_time); in atgc_lookup_victim() 589 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim()
|