:orphan: .. title:: CONFIG_APIC_TIMER_TSC .. kconfig:: CONFIG_APIC_TIMER_TSC CONFIG_APIC_TIMER_TSC ##################### *Use invariant TSC for sys\_clock\_cycle\_get\_32()* Type: ``bool`` Help ==== .. code-block:: none If your CPU supports invariant TSC, and you know the ratio of the TSC frequency to CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC (the local APIC timer frequency), then enable this for a much faster and more accurate sys_clock_cycle_get_32(). Direct dependencies =================== (\ :kconfig:`APIC_TIMER ` && \ :kconfig:`SOC_APOLLO_LAKE `) || \ :kconfig:`APIC_TIMER ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Symbols selected by this symbol =============================== - \ :kconfig:`TIMER_HAS_64BIT_CYCLE_COUNTER ` Kconfig definitions =================== At ``/x86/apollo_lake/Kconfig.defconfig:20`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` Menu path: (Top) .. code-block:: kconfig config APIC_TIMER_TSC bool default y depends on APIC_TIMER && SOC_APOLLO_LAKE ---- At ``/timer/Kconfig.apic:31`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:30`` → ``/timer/Kconfig:58`` Menu path: (Top) → Device Drivers → Timer Drivers → New local APIC timer .. code-block:: kconfig config APIC_TIMER_TSC bool "Use invariant TSC for sys_clock_cycle_get_32()" select TIMER_HAS_64BIT_CYCLE_COUNTER depends on APIC_TIMER help If your CPU supports invariant TSC, and you know the ratio of the TSC frequency to CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC (the local APIC timer frequency), then enable this for a much faster and more accurate sys_clock_cycle_get_32(). *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*