-
CONFIG_TSC_CYCLES_PER_SEC
¶
Frequency of x86 CPU timestamp counter
Type: int
Help¶
The x86 implementation of LOAPIC k_cycle_get_32() relies on the x86 TSC. This runs at the CPU speed and not the bus speed. If set to 0, the value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC will be used instead; many MCUs these values are the same.
Defaults¶
- 0 if
LOAPIC_TIMER
Kconfig definition¶
At drivers/timer/Kconfig:105
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:26
Menu path: (top menu) → Device Drivers → Timer Drivers
config TSC_CYCLES_PER_SEC int prompt "Frequency of x86 CPU timestamp counter" ifLOAPIC_TIMER
default 0 ifLOAPIC_TIMER
depends onLOAPIC_TIMER
help The x86 implementation of LOAPIC k_cycle_get_32() relies on the x86 TSC. This runs at the CPU speed and not the bus speed. If set to 0, the value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC will be used instead; many MCUs these values are the same.
(Definitions include propagated dependencies, including from if’s and menus.)