/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | idle.c | 27 unsigned long long idle_time; in enabled_wait() local 43 idle_time = idle->clock_idle_exit - idle->clock_idle_enter; in enabled_wait() 45 idle->idle_time += idle_time; in enabled_wait() 47 account_idle_time(cputime_to_nsecs(idle_time)); in enabled_wait() 72 unsigned long long now, idle_time, idle_enter, idle_exit, in_idle; in show_idle_time() local 78 idle_time = READ_ONCE(idle->idle_time); in show_idle_time() 91 idle_time += in_idle; in show_idle_time() 92 return sprintf(buf, "%llu\n", idle_time >> 12); in show_idle_time()
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | cpufreq_cooling.c | 79 struct time_in_idle *idle_time; member 148 struct time_in_idle *idle_time = &cpufreq_cdev->idle_time[cpu_idx]; in get_load() local 151 delta_idle = now_idle - idle_time->time; in get_load() 152 delta_time = now - idle_time->timestamp; in get_load() 159 idle_time->time = now_idle; in get_load() 160 idle_time->timestamp = now; in get_load() 518 cpufreq_cdev->idle_time = kcalloc(num_cpus, in __cpufreq_cooling_register() 519 sizeof(*cpufreq_cdev->idle_time), in __cpufreq_cooling_register() 521 if (!cpufreq_cdev->idle_time) { in __cpufreq_cooling_register() 582 kfree(cpufreq_cdev->idle_time); in __cpufreq_cooling_register() [all …]
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | cpufreq_governor.c | 140 unsigned int idle_time, time_elapsed; in dbs_update() local 148 idle_time = cur_idle_time - j_cdbs->prev_cpu_idle; in dbs_update() 154 idle_time += div_u64(cur_nice - j_cdbs->prev_cpu_nice, NSEC_PER_USEC); in dbs_update() 165 } else if (unlikely((int)idle_time > 2 * sampling_rate && in dbs_update() 192 if (time_elapsed >= idle_time) { in dbs_update() 193 load = 100 * (time_elapsed - idle_time) / time_elapsed; in dbs_update() 210 load = (int)idle_time < 0 ? 100 : 0; in dbs_update() 215 if (unlikely((int)idle_time > 2 * sampling_rate)) { in dbs_update() 216 unsigned int periods = idle_time / sampling_rate; in dbs_update()
|
D | cpufreq_ondemand.c | 357 u64 idle_time; in od_init() local 365 idle_time = get_cpu_idle_time_us(cpu, NULL); in od_init() 367 if (idle_time != -1ULL) { in od_init()
|
D | cpufreq.c | 129 u64 idle_time; in get_cpu_idle_time_jiffy() local 143 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy() 147 return div_u64(idle_time, NSEC_PER_USEC); in get_cpu_idle_time_jiffy() 152 u64 idle_time = get_cpu_idle_time_us(cpu, io_busy ? wall : NULL); in get_cpu_idle_time() local 154 if (idle_time == -1ULL) in get_cpu_idle_time() 157 idle_time += get_cpu_iowait_time_us(cpu, wall); in get_cpu_idle_time() 159 return idle_time; in get_cpu_idle_time()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_devfreq.c | 23 pfdevfreq->idle_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization() 49 pfdevfreq->idle_time = 0; in panfrost_devfreq_reset() 67 pfdevfreq->idle_time)); in panfrost_devfreq_get_dev_status()
|
D | panfrost_devfreq.h | 23 ktime_t idle_time; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_devfreq.c | 29 devfreq->idle_time += ktime_sub(now, last); in lima_devfreq_update_utilization() 55 devfreq->idle_time = 0; in lima_devfreq_reset() 73 devfreq->idle_time)); in lima_devfreq_get_dev_status()
|
D | lima_devfreq.h | 24 ktime_t idle_time; member
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | time.c | 78 if (ti->idle_time) in vtime_flush() 79 account_idle_time(cycle_to_nsec(ti->idle_time)); in vtime_flush() 98 ti->idle_time = 0; in vtime_flush() 156 ti->idle_time += vtime_delta(tsk); in vtime_account_idle()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | idle.h | 18 unsigned long long idle_time; member
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | accounting.h | 22 unsigned long idle_time; member
|
/kernel/linux/linux-5.10/block/ |
D | bfq-cgroup.c | 198 bfq_stat_add(&stats->idle_time, in bfqg_stats_update_idle_time() 374 bfq_stat_reset(&stats->idle_time); in bfqg_stats_reset() 396 bfq_stat_add_aux(&to->idle_time, &from->idle_time); in bfqg_stats_add_aux() 457 bfq_stat_exit(&stats->idle_time); in bfqg_stats_exit() 478 bfq_stat_init(&stats->idle_time, gfp) || in bfqg_stats_init() 1400 .private = offsetof(struct bfq_group, stats.idle_time),
|
D | blk-throttle.c | 1615 char idle_time[26] = ""; in tg_prfill_limit() local 1652 strcpy(idle_time, " idle=max"); in tg_prfill_limit() 1654 snprintf(idle_time, sizeof(idle_time), " idle=%lu", in tg_prfill_limit() 1665 dname, bufs[0], bufs[1], bufs[2], bufs[3], idle_time, in tg_prfill_limit() 1684 unsigned long idle_time; in tg_set_limit() local 1703 idle_time = tg->idletime_threshold_conf; in tg_set_limit() 1737 idle_time = val; in tg_set_limit() 1763 tg->idletime_threshold_conf = idle_time; in tg_set_limit()
|
D | bfq-iosched.h | 837 struct bfq_stat idle_time; member
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | time.c | 371 acct->idle_time += stime + steal_time; in vtime_account_idle() 411 if (acct->idle_time) in vtime_flush() 412 account_idle_time(cputime_to_nsecs(acct->idle_time)); in vtime_flush() 429 acct->idle_time = 0; in vtime_flush()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | thread_info.h | 38 __u64 idle_time; member
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | transport.c | 685 long idle_time = 0; in xprt_rdma_print_stats() local 688 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xprt_rdma_print_stats() 696 idle_time, in xprt_rdma_print_stats()
|
/kernel/linux/linux-5.10/include/linux/ |
D | pm_domain.h | 95 ktime_t idle_time; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | ioctl.h | 297 u16 idle_time; member
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | xprtsock.c | 2435 long idle_time = 0; in xs_local_print_stats() local 2438 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xs_local_print_stats() 2445 idle_time, in xs_local_print_stats() 2489 long idle_time = 0; in xs_tcp_print_stats() local 2492 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xs_tcp_print_stats() 2500 idle_time, in xs_tcp_print_stats()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/ |
D | blkio-controller.rst | 224 - blkio.idle_time 230 idle_time accumulated till the last idle period and will not include
|
/kernel/linux/linux-5.10/drivers/base/power/ |
D | domain.c | 228 genpd->states[state_idx].idle_time = in genpd_update_accounting() 229 ktime_add(genpd->states[state_idx].idle_time, delta); in genpd_update_accounting() 3079 ktime_add(genpd->states[i].idle_time, delta)); in idle_states_show() 3125 total = ktime_add(total, genpd->states[i].idle_time); in total_idle_time_show()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-cache-target.c | 54 unsigned long idle_time; member 62 iot->idle_time = 0ul; in iot_init() 71 return time_after(jiffies, iot->idle_time + jifs); in __iot_idle_for() 99 iot->idle_time = jiffies; in __iot_io_end()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | wmi.h | 3084 u32 idle_time; member 3185 u32 idle_time; member 3258 u32 idle_time; member
|