Home
last modified time | relevance | path

Searched refs:idle_time (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.3-rc2/arch/s390/kernel/
A Didle.c27 unsigned long idle_time; in account_idle_time_irq() local
37 idle_time = S390_lowcore.int_clock - idle->clock_idle_enter; in account_idle_time_irq()
46 WRITE_ONCE(idle->idle_time, READ_ONCE(idle->idle_time) + idle_time); in account_idle_time_irq()
48 account_idle_time(cputime_to_nsecs(idle_time)); in account_idle_time_irq()
79 return sysfs_emit(buf, "%lu\n", READ_ONCE(idle->idle_time) >> 12); in show_idle_time()
/linux-6.3-rc2/drivers/md/
A Ddm-io-tracker.h25 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-6.3-rc2/drivers/thermal/
A Dcpufreq_cooling.c78 struct time_in_idle *idle_time; member
161 struct time_in_idle *idle_time = &cpufreq_cdev->idle_time[cpu_idx]; in get_load() local
164 delta_idle = now_idle - idle_time->time; in get_load()
165 delta_time = now - idle_time->timestamp; in get_load()
172 idle_time->time = now_idle; in get_load()
173 idle_time->timestamp = now; in get_load()
356 cpufreq_cdev->idle_time = kcalloc(num_cpus, in allocate_idle_time()
357 sizeof(*cpufreq_cdev->idle_time), in allocate_idle_time()
359 if (!cpufreq_cdev->idle_time) in allocate_idle_time()
367 kfree(cpufreq_cdev->idle_time); in free_idle_time()
[all …]
/linux-6.3-rc2/drivers/cpufreq/
A Dcpufreq_governor.c140 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()
A Dcpufreq_ondemand.c360 u64 idle_time; in od_init() local
368 idle_time = get_cpu_idle_time_us(cpu, NULL); in od_init()
370 if (idle_time != -1ULL) { in od_init()
A Dcpufreq.c127 u64 idle_time; in get_cpu_idle_time_jiffy() local
141 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy()
145 return div_u64(idle_time, NSEC_PER_USEC); in get_cpu_idle_time_jiffy()
150 u64 idle_time = get_cpu_idle_time_us(cpu, io_busy ? wall : NULL); in get_cpu_idle_time() local
152 if (idle_time == -1ULL) in get_cpu_idle_time()
155 idle_time += get_cpu_iowait_time_us(cpu, wall); in get_cpu_idle_time()
157 return idle_time; in get_cpu_idle_time()
/linux-6.3-rc2/drivers/gpu/drm/msm/
A Dmsm_gpu_devfreq.c291 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()
A Dmsm_gpu.h140 ktime_t idle_time; member
/linux-6.3-rc2/drivers/gpu/drm/lima/
A Dlima_devfreq.c29 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()
A Dlima_devfreq.h22 ktime_t idle_time; member
/linux-6.3-rc2/drivers/gpu/drm/panfrost/
A Dpanfrost_devfreq.c23 pfdevfreq->idle_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization()
44 pfdevfreq->idle_time = 0; in panfrost_devfreq_reset()
62 pfdevfreq->idle_time)); in panfrost_devfreq_get_dev_status()
A Dpanfrost_devfreq.h23 ktime_t idle_time; member
/linux-6.3-rc2/arch/ia64/kernel/
A Dtime.c80 if (ti->idle_time) in vtime_flush()
81 account_idle_time(cycle_to_nsec(ti->idle_time)); in vtime_flush()
100 ti->idle_time = 0; in vtime_flush()
154 ti->idle_time += vtime_delta(tsk); in vtime_account_idle()
/linux-6.3-rc2/Documentation/networking/
A Dnexthop-group-resilient.rst262 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-6.3-rc2/arch/s390/include/asm/
A Didle.h16 unsigned long idle_time; member
/linux-6.3-rc2/arch/powerpc/include/asm/
A Daccounting.h22 unsigned long idle_time; member
/linux-6.3-rc2/arch/powerpc/kernel/
A Dtime.c270 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-6.3-rc2/block/
A Dbfq-cgroup.c198 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()
1424 .private = offsetof(struct bfq_group, stats.idle_time),
A Dblk-throttle.c1490 char idle_time[26] = ""; in tg_prfill_limit() local
1527 strcpy(idle_time, " idle=max"); in tg_prfill_limit()
1529 snprintf(idle_time, sizeof(idle_time), " idle=%lu", in tg_prfill_limit()
1540 dname, bufs[0], bufs[1], bufs[2], bufs[3], idle_time, in tg_prfill_limit()
1559 unsigned long idle_time; in tg_set_limit() local
1576 idle_time = tg->idletime_threshold_conf; in tg_set_limit()
1610 idle_time = val; in tg_set_limit()
1636 tg->idletime_threshold_conf = idle_time; in tg_set_limit()
/linux-6.3-rc2/arch/ia64/include/asm/
A Dthread_info.h37 __u64 idle_time; member
/linux-6.3-rc2/net/sunrpc/xprtrdma/
A Dtransport.c681 long idle_time = 0; in xprt_rdma_print_stats() local
684 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xprt_rdma_print_stats()
692 idle_time, in xprt_rdma_print_stats()
/linux-6.3-rc2/drivers/base/power/
A Ddomain.c245 genpd->states[genpd->state_idx].idle_time += delta; in genpd_update_accounting()
3240 u64 now, delta, idle_time = 0; in idle_states_show() local
3251 idle_time += genpd->states[i].idle_time; in idle_states_show()
3257 idle_time += delta; in idle_states_show()
3261 do_div(idle_time, NSEC_PER_MSEC); in idle_states_show()
3262 seq_printf(s, "S%-13i %-14llu %-14llu %llu\n", i, idle_time, in idle_states_show()
3306 total += genpd->states[i].idle_time; in total_idle_time_show()
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dioctl.h285 u16 idle_time; member
/linux-6.3-rc2/include/linux/
A Dpm_domain.h111 u64 idle_time; member
/linux-6.3-rc2/net/sunrpc/
A Dxprtsock.c2462 long idle_time = 0; in xs_local_print_stats() local
2465 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xs_local_print_stats()
2472 idle_time, in xs_local_print_stats()
2516 long idle_time = 0; in xs_tcp_print_stats() local
2519 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xs_tcp_print_stats()
2527 idle_time, in xs_tcp_print_stats()

Completed in 67 milliseconds

12