Home
last modified time | relevance | path

Searched refs:irqtime (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/kernel/sched/
Dcputime.c21 DEFINE_PER_CPU(struct irqtime, cpu_irqtime);
35 static void irqtime_account_delta(struct irqtime *irqtime, u64 delta, in irqtime_account_delta() argument
40 u64_stats_update_begin(&irqtime->sync); in irqtime_account_delta()
42 irqtime->total += delta; in irqtime_account_delta()
43 irqtime->tick_delta += delta; in irqtime_account_delta()
44 u64_stats_update_end(&irqtime->sync); in irqtime_account_delta()
53 struct irqtime *irqtime = this_cpu_ptr(&cpu_irqtime); in irqtime_account_irq() local
68 delta = sched_clock_cpu(cpu) - irqtime->irq_start_time; in irqtime_account_irq()
69 irqtime->irq_start_time += delta; in irqtime_account_irq()
78 irqtime_account_delta(irqtime, delta, CPUTIME_IRQ); in irqtime_account_irq()
[all …]
Dwalt.c876 u64 irqtime, int event) in account_busy_for_cpu_time() argument
884 return irqtime || cpu_is_waiting_on_io(rq); in account_busy_for_cpu_time()
912 int event, u64 wallclock, u64 irqtime) in update_cpu_busy_time() argument
952 if (!account_busy_for_cpu_time(rq, p, irqtime, event)) in update_cpu_busy_time()
977 if (!irqtime || !is_idle_task(p) || cpu_is_waiting_on_io(rq)) in update_cpu_busy_time()
980 delta = irqtime; in update_cpu_busy_time()
1049 if (!irqtime || !is_idle_task(p) || cpu_is_waiting_on_io(rq)) { in update_cpu_busy_time()
1109 if (irqtime) { in update_cpu_busy_time()
1123 mark_start = wallclock - irqtime; in update_cpu_busy_time()
1130 *curr_runnable_sum = scale_exec_time(irqtime, rq); in update_cpu_busy_time()
[all …]
Dwalt.h98 u64 wallclock, u64 irqtime);
215 int event, u64 wallclock, u64 irqtime) { } in update_task_ravg() argument
Dsched.h2493 struct irqtime { struct
2500 DECLARE_PER_CPU(struct irqtime, cpu_irqtime); argument
2509 struct irqtime *irqtime = &per_cpu(cpu_irqtime, cpu); in irq_time_read() local
2514 seq = __u64_stats_fetch_begin(&irqtime->sync); in irq_time_read()
2515 total = irqtime->total; in irq_time_read()
2516 } while (__u64_stats_fetch_retry(&irqtime->sync, seq)); in irq_time_read()
/kernel/linux/linux-5.10/kernel/time/
Dsched_clock.c47 static int irqtime = -1; variable
49 core_param(irqtime, irqtime, int, 0400);
220 if (irqtime > 0 || (irqtime == -1 && rate >= 1000000)) in sched_clock_register()
/kernel/linux/linux-5.10/include/trace/events/
Dwalt.h131 u64 wallclock, u64 irqtime),
133 TP_ARGS(p, rq, evt, wallclock, irqtime),
145 __field(u64, irqtime)
175 __entry->irqtime = irqtime;
193 __entry->sum, __entry->irqtime,
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd.c817 unsigned long strtime, irqtime, endtime, tottime; in dasd_profile_end() local
837 irqtime = ((cqr->stopclk - cqr->startclk) >> 12); in dasd_profile_end()
846 dasd_profile_counter(irqtime, irqtime_ind); in dasd_profile_end()
847 dasd_profile_counter(irqtime / sectors, irqtimeps_ind); in dasd_profile_end()
855 data->dasd_sum_time_irq += irqtime; in dasd_profile_end()
873 data->dasd_sum_time_irq += irqtime; in dasd_profile_end()
891 data->dasd_sum_time_irq += irqtime; in dasd_profile_end()