diff options
| -rw-r--r-- | kernel/time/tick-sched.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/kernel/time/tick-sched.h b/kernel/time/tick-sched.h index 6de959a854b2..4fb06527cf64 100644 --- a/kernel/time/tick-sched.h +++ b/kernel/time/tick-sched.h | |||
| @@ -24,12 +24,19 @@ enum tick_nohz_mode { | |||
| 24 | * struct tick_sched - sched tick emulation and no idle tick control/stats | 24 | * struct tick_sched - sched tick emulation and no idle tick control/stats |
| 25 | * @sched_timer: hrtimer to schedule the periodic tick in high | 25 | * @sched_timer: hrtimer to schedule the periodic tick in high |
| 26 | * resolution mode | 26 | * resolution mode |
| 27 | * @check_clocks: Notification mechanism about clocksource changes | ||
| 28 | * @nohz_mode: Mode - one state of tick_nohz_mode | ||
| 29 | * @inidle: Indicator that the CPU is in the tick idle mode | ||
| 30 | * @tick_stopped: Indicator that the idle tick has been stopped | ||
| 31 | * @idle_active: Indicator that the CPU is actively in the tick idle mode; | ||
| 32 | * it is resetted during irq handling phases. | ||
| 33 | * @do_timer_lst: CPU was the last one doing do_timer before going idle | ||
| 34 | * @got_idle_tick: Tick timer function has run with @inidle set | ||
| 27 | * @last_tick: Store the last tick expiry time when the tick | 35 | * @last_tick: Store the last tick expiry time when the tick |
| 28 | * timer is modified for nohz sleeps. This is necessary | 36 | * timer is modified for nohz sleeps. This is necessary |
| 29 | * to resume the tick timer operation in the timeline | 37 | * to resume the tick timer operation in the timeline |
| 30 | * when the CPU returns from nohz sleep. | 38 | * when the CPU returns from nohz sleep. |
| 31 | * @next_tick: Next tick to be fired when in dynticks mode. | 39 | * @next_tick: Next tick to be fired when in dynticks mode. |
| 32 | * @tick_stopped: Indicator that the idle tick has been stopped | ||
| 33 | * @idle_jiffies: jiffies at the entry to idle for idle time accounting | 40 | * @idle_jiffies: jiffies at the entry to idle for idle time accounting |
| 34 | * @idle_calls: Total number of idle calls | 41 | * @idle_calls: Total number of idle calls |
| 35 | * @idle_sleeps: Number of idle calls, where the sched tick was stopped | 42 | * @idle_sleeps: Number of idle calls, where the sched tick was stopped |
| @@ -40,8 +47,8 @@ enum tick_nohz_mode { | |||
| 40 | * @iowait_sleeptime: Sum of the time slept in idle with sched tick stopped, with IO outstanding | 47 | * @iowait_sleeptime: Sum of the time slept in idle with sched tick stopped, with IO outstanding |
| 41 | * @timer_expires: Anticipated timer expiration time (in case sched tick is stopped) | 48 | * @timer_expires: Anticipated timer expiration time (in case sched tick is stopped) |
| 42 | * @timer_expires_base: Base time clock monotonic for @timer_expires | 49 | * @timer_expires_base: Base time clock monotonic for @timer_expires |
| 43 | * @do_timer_lst: CPU was the last one doing do_timer before going idle | 50 | * @next_timer: Expiry time of next expiring timer for debugging purpose only |
| 44 | * @got_idle_tick: Tick timer function has run with @inidle set | 51 | * @tick_dep_mask: Tick dependency mask - is set, if someone needs the tick |
| 45 | */ | 52 | */ |
| 46 | struct tick_sched { | 53 | struct tick_sched { |
| 47 | struct hrtimer sched_timer; | 54 | struct hrtimer sched_timer; |
