| /OK3568_Linux_fs/kernel/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()
|
| H A D | exynos-bus.c | 130 stat->total_time = stat->busy_time = 0; in exynos_bus_get_dev_status() 135 stat->total_time = edata.total_count; in exynos_bus_get_dev_status() 138 stat->total_time); in exynos_bus_get_dev_status()
|
| /OK3568_Linux_fs/kernel/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)
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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 | 129 deleted_ws.total_time = in wakeup_source_record() 130 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record() 725 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate() 1137 ktime_t total_time; in print_wakeup_source_stats() local 1145 total_time = ws->total_time; in print_wakeup_source_stats() 1153 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats() 1167 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/platform/rk/ |
| H A D | mali_kbase_config_rk.c | 381 unsigned long total_time; in utilisation_show() local 387 kbase_pm_get_dvfs_utilisation(kbdev, &total_time, &busy_time); in utilisation_show() 393 D("total_time : %lu, busy_time : %lu.", total_time, busy_time); in utilisation_show() 395 utilisation = busy_time * 100 / total_time; in utilisation_show()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/external/rknpu2/doc/ |
| H A D | RKNN_Dynamic_Shape_Usage.md | 139 double total_time = 0; 150 total_time += elapse_us / 1000.f; 153 printf("Avg FPS = %.3f\n", loop_count * 1000.f / total_time);
|
| /OK3568_Linux_fs/kernel/kernel/power/ |
| H A D | wakeup_reason.c | 334 struct timespec64 total_time; in last_suspend_time_show() local 341 total_time = ktime_to_timespec64(ktime_sub(curr_stime, last_stime)); in last_suspend_time_show() 351 sleep_time = timespec64_sub(total_time, suspend_resume_time); in last_suspend_time_show()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ipa/ |
| H A D | mali_kbase_ipa.c | 560 unsigned long total_time = max(status->total_time, 1ul); in kbase_get_real_power() local 561 u64 busy_time = min(status->busy_time, total_time); in kbase_get_real_power() 565 *power = div_u64_rem(((u64) *power * (u64) busy_time), total_time, &remainder); in kbase_get_real_power()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/platform/rk/ |
| H A D | rk.c | 108 unsigned long total_time; in utilisation_show() local 114 mali_pm_get_dvfs_utilisation(mdev, &total_time, &busy_time); in utilisation_show() 121 D("total_time : %lu, busy_time : %lu.", total_time, busy_time); in utilisation_show() 123 utilisation = busy_time / (total_time / 100); in utilisation_show()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/platform/rk/ |
| H A D | mali_kbase_config_rk.c | 463 u32 total_time = 0; in utilisation_show() local 473 total_time = metrics_diff.time_busy + metrics_diff.time_idle; in utilisation_show() 475 D("total_time : %u, busy_time : %u.", total_time, busy_time); in utilisation_show() 477 utilisation = busy_time * 100 / total_time; in utilisation_show()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/ |
| H A D | rknn_benchmark.cpp | 261 double total_time = 0; in main() local 439 total_time += elapse_us / 1000.f; in main() 442 …printf("\nAvg Time %.2fms, Avg FPS = %.3f\n\n", total_time/loop_count, loop_count * 1000.f / total… in main()
|
| /OK3568_Linux_fs/kernel/tools/power/cpupower/lib/ |
| H A D | cpufreq.c | 699 unsigned long long *total_time) in cpufreq_get_stats() argument 713 *total_time = 0; in cpufreq_get_stats() 742 *total_time = *total_time + current->time_in_state; in cpufreq_get_stats()
|
| H A D | cpufreq.h | 170 unsigned long long *total_time);
|
| /OK3568_Linux_fs/kernel/tools/power/cpupower/utils/ |
| H A D | cpufreq-info.c | 436 unsigned long long total_time; in get_freq_stats() local 437 struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time); in get_freq_stats() 442 (100.0 * stats->time_in_state) / total_time); in get_freq_stats()
|
| /OK3568_Linux_fs/kernel/sound/soc/sprd/ |
| H A D | sprd-pcm-dma.h | 19 int total_time; member
|
| /OK3568_Linux_fs/kernel/tools/perf/ |
| H A D | builtin-timechart.c | 97 u64 total_time; member 111 u64 total_time; member 296 c->total_time += (end-start); in pid_put_sample() 297 p->total_time += (end-start); in pid_put_sample() 1288 if (c->total_time > 5000000000) /* 5 seconds */ in draw_process_bars() 1289 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / (double)NSEC_PER_SEC); in draw_process_bars() 1291 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); in draw_process_bars() 1390 if (p->total_time >= threshold) in determine_display_tasks() 1401 if (c->total_time >= threshold) { in determine_display_tasks()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_rhashtable.c | 700 u64 total_time = 0; in test_rht_init() local 742 total_time += time; in test_rht_init() 750 do_div(total_time, runs); in test_rht_init() 751 pr_info("Average test time: %llu\n", total_time); in test_rht_init()
|
| /OK3568_Linux_fs/external/mpp/utils/ |
| H A D | mpi_dec_utils.h | 87 void show_dec_fps(RK_S64 total_time, RK_S64 total_count, RK_S64 last_time, RK_S64 last_count);
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/hashserv/ |
| H A D | server.py | 70 self.total_time = 0 86 self.total_time += elapsed 98 return self.total_time / self.num
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/ |
| H A D | mali_kbase_ipa.c | 651 u64 total_time; in kbase_get_real_power_locked() local 710 total_time = diff.time_busy + (u64) diff.time_idle; in kbase_get_real_power_locked() 712 max(total_time, 1ull)); in kbase_get_real_power_locked()
|