Searched refs:irqtime (Results 1 – 3 of 3) sorted by relevance
/kernel/sched/ |
D | cputime.c | 21 DEFINE_PER_CPU(struct irqtime, cpu_irqtime); 36 static void irqtime_account_delta(struct irqtime *irqtime, u64 delta, in irqtime_account_delta() argument 41 u64_stats_update_begin(&irqtime->sync); in irqtime_account_delta() 43 irqtime->total += delta; in irqtime_account_delta() 44 irqtime->tick_delta += delta; in irqtime_account_delta() 45 u64_stats_update_end(&irqtime->sync); in irqtime_account_delta() 54 struct irqtime *irqtime = this_cpu_ptr(&cpu_irqtime); in irqtime_account_irq() local 64 delta = sched_clock_cpu(cpu) - irqtime->irq_start_time; in irqtime_account_irq() 65 irqtime->irq_start_time += delta; in irqtime_account_irq() 75 irqtime_account_delta(irqtime, delta, CPUTIME_IRQ); in irqtime_account_irq() [all …]
|
D | sched.h | 2850 struct irqtime { struct 2857 DECLARE_PER_CPU(struct irqtime, cpu_irqtime); argument 2866 struct irqtime *irqtime = &per_cpu(cpu_irqtime, cpu); in irq_time_read() local 2871 seq = __u64_stats_fetch_begin(&irqtime->sync); in irq_time_read() 2872 total = irqtime->total; in irq_time_read() 2873 } while (__u64_stats_fetch_retry(&irqtime->sync, seq)); in irq_time_read()
|
/kernel/time/ |
D | sched_clock.c | 49 static int irqtime = -1; variable 51 core_param(irqtime, irqtime, int, 0400); 219 if (irqtime > 0 || (irqtime == -1 && rate >= 1000000)) in sched_clock_register()
|