/linux/arch/s390/kernel/ |
H A D | idle.c | 28 unsigned long idle_time; in account_idle_time_irq() local 38 idle_time = lc->int_clock - idle->clock_idle_enter; in account_idle_time_irq() 47 WRITE_ONCE(idle->idle_time, READ_ONCE(idle->idle_time) + idle_time); in account_idle_time_irq() 49 account_idle_time(cputime_to_nsecs(idle_time)); in account_idle_time_irq() 84 return sysfs_emit(buf, "%lu\n", READ_ONCE(idle->idle_time) >> 12); in show_idle_time()
|
/linux/drivers/md/ |
H A D | dm-io-tracker.h | 25 unsigned long idle_time; member 33 iot->idle_time = 0ul; in dm_iot_init() 43 r = time_after(jiffies, iot->idle_time + j); in dm_iot_idle_for() 55 r = jiffies - iot->idle_time; in dm_iot_idle_time() 78 iot->idle_time = jiffies; in dm_iot_io_end()
|
/linux/drivers/thermal/ |
H A D | cpufreq_cooling.c | 78 struct time_in_idle *idle_time; member 175 struct time_in_idle *idle_time = &cpufreq_cdev->idle_time[cpu_idx]; in get_load() local 178 delta_idle = now_idle - idle_time->time; in get_load() 179 delta_time = now - idle_time->timestamp; in get_load() 186 idle_time->time = now_idle; in get_load() 187 idle_time->timestamp = now; in get_load() 376 cpufreq_cdev->idle_time = kcalloc(num_cpus, in allocate_idle_time() 377 sizeof(*cpufreq_cdev->idle_time), in allocate_idle_time() 379 if (!cpufreq_cdev->idle_time) in allocate_idle_time() 387 kfree(cpufreq_cdev->idle_time); in free_idle_time() [all …]
|
/linux/drivers/cpufreq/ |
H A 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()
|
H A D | cpufreq_ondemand.c | 359 u64 idle_time; in od_init() local 367 idle_time = get_cpu_idle_time_us(cpu, NULL); in od_init() 369 if (idle_time != -1ULL) { in od_init()
|
H A D | cpufreq.c | 133 u64 idle_time; in get_cpu_idle_time_jiffy() local 147 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy() 151 return div_u64(idle_time, NSEC_PER_USEC); in get_cpu_idle_time_jiffy() 156 u64 idle_time = get_cpu_idle_time_us(cpu, io_busy ? wall : NULL); in get_cpu_idle_time() local 158 if (idle_time == -1ULL) in get_cpu_idle_time() 161 idle_time += get_cpu_iowait_time_us(cpu, wall); in get_cpu_idle_time() 163 return idle_time; in get_cpu_idle_time()
|
/linux/drivers/gpu/drm/panthor/ |
H A D | panthor_devfreq.c | 29 ktime_t idle_time; member 57 pdevfreq->idle_time += ktime_sub(now, last); in panthor_devfreq_update_utilization() 78 pdevfreq->idle_time = 0; in panthor_devfreq_reset() 96 pdevfreq->idle_time)); in panthor_devfreq_get_dev_status()
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_gpu_devfreq.c | 291 unsigned int idle_time; in msm_devfreq_active() local 310 idle_time = ktime_to_ms(ktime_sub(ktime_get(), df->idle_time)); in msm_devfreq_active() 329 if (idle_time > msm_devfreq_profile.polling_ms) { in msm_devfreq_active() 354 df->idle_time = ktime_get(); in msm_devfreq_idle_work()
|
H A D | msm_gpu.h | 145 ktime_t idle_time; member
|
/linux/drivers/gpu/drm/lima/ |
H A D | lima_devfreq.c | 29 devfreq->idle_time += ktime_sub(now, last); in lima_devfreq_update_utilization() 50 devfreq->idle_time = 0; in lima_devfreq_reset() 68 devfreq->idle_time)); in lima_devfreq_get_dev_status()
|
H A D | lima_devfreq.h | 22 ktime_t idle_time; member
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_devfreq.c | 24 pfdevfreq->idle_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization() 51 pfdevfreq->idle_time = 0; in panfrost_devfreq_reset() 69 pfdevfreq->idle_time)); in panfrost_devfreq_get_dev_status()
|
H A D | panfrost_devfreq.h | 26 ktime_t idle_time; member
|
/linux/Documentation/networking/ |
H A D | nexthop-group-resilient.rst | 262 id 10 index 0 idle_time 5.59 nhid 1 263 id 10 index 1 idle_time 5.59 nhid 1 264 id 10 index 2 idle_time 8.74 nhid 2 265 id 10 index 3 idle_time 8.74 nhid 2 266 id 10 index 4 idle_time 8.74 nhid 1 267 id 10 index 5 idle_time 8.74 nhid 1 268 id 10 index 6 idle_time 8.74 nhid 1 269 id 10 index 7 idle_time 8.74 nhid 1
|
/linux/arch/s390/include/asm/ |
H A D | idle.h | 16 unsigned long idle_time; member
|
/linux/arch/powerpc/include/asm/ |
H A D | accounting.h | 22 unsigned long idle_time; member
|
/linux/arch/powerpc/kernel/ |
H A D | time.c | 270 acct->idle_time += stime + steal_time; in vtime_account_idle() 334 if (acct->idle_time) in vtime_flush() 335 account_idle_time(cputime_to_nsecs(acct->idle_time)); in vtime_flush() 352 acct->idle_time = 0; in vtime_flush()
|
/linux/block/ |
H A D | bfq-cgroup.c | 198 bfq_stat_add(&stats->idle_time, in bfqg_stats_update_idle_time() 367 bfq_stat_reset(&stats->idle_time); in bfqg_stats_reset() 389 bfq_stat_add_aux(&to->idle_time, &from->idle_time); in bfqg_stats_add_aux() 450 bfq_stat_exit(&stats->idle_time); in bfqg_stats_exit() 471 bfq_stat_init(&stats->idle_time, gfp) || in bfqg_stats_init() 1361 .private = offsetof(struct bfq_group, stats.idle_time),
|
H A D | bfq-iosched.h | 944 struct bfq_stat idle_time; member
|
/linux/net/sunrpc/xprtrdma/ |
H A D | transport.c | 671 long idle_time = 0; in xprt_rdma_print_stats() local 674 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xprt_rdma_print_stats() 682 idle_time, in xprt_rdma_print_stats()
|
/linux/drivers/pmdomain/ |
H A D | core.c | 296 genpd->states[genpd->state_idx].idle_time += delta; in genpd_update_accounting() 3374 u64 now, delta, idle_time = 0; in idle_states_show() local 3385 idle_time += genpd->states[i].idle_time; in idle_states_show() 3391 idle_time += delta; in idle_states_show() 3395 do_div(idle_time, NSEC_PER_MSEC); in idle_states_show() 3396 seq_printf(s, "S%-13i %-14llu %-14llu %llu\n", i, idle_time, in idle_states_show() 3440 total += genpd->states[i].idle_time; in total_idle_time_show()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | ioctl.h | 291 u16 idle_time; member
|
/linux/include/linux/ |
H A D | pm_domain.h | 143 u64 idle_time; member
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | blkio-controller.rst | 229 blkio.idle_time 235 idle_time accumulated till the last idle period and will not include
|
/linux/net/sunrpc/ |
H A D | xprtsock.c | 2837 long idle_time = 0; in xs_local_print_stats() local 2840 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xs_local_print_stats() 2847 idle_time, in xs_local_print_stats() 2891 long idle_time = 0; in xs_tcp_print_stats() local 2894 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xs_tcp_print_stats() 2902 idle_time, in xs_tcp_print_stats()
|