blob: a20dc8a3c9499e5631102ec869d67d6148c63ea6 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
2# Timer subsystem related configuration options
3#
4
5# Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is
6# only related to the tick functionality. Oneshot clockevent devices
7# are supported independ of this.
8config TICK_ONESHOT
9 bool
10
11config NO_HZ
12 bool "Tickless System (Dynamic Ticks)"
13 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
14 select TICK_ONESHOT
15 help
16 This option enables a tickless system: timer interrupts will
17 only trigger on an as-needed basis both when the system is
18 busy and when the system is idle.
19
20config HIGH_RES_TIMERS
21 bool "High Resolution Timer Support"
22 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
23 select TICK_ONESHOT
24 help
25 This option enables high resolution timer support. If your
26 hardware is not capable then this option only increases
27 the size of the kernel image.
28
29config GENERIC_CLOCKEVENTS_BUILD
30 bool
31 default y
32 depends on GENERIC_CLOCKEVENTS
33
34config GENERIC_CLOCKEVENTS_MIN_ADJUST
35 bool