:orphan: .. title:: APIC_TIMER_TSC .. option:: CONFIG_APIC_TIMER_TSC *Use invariant TSC for z_timer_cycle_get_32()* Type: ``bool`` 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 z_timer_cycle_get_32(). Direct dependencies =================== (\ :option:`APIC_TIMER ` && \ :option:`SOC_APOLLO_LAKE `) || (\ :option:`APIC_TIMER ` && \ :option:`SOC_ELKHART_LAKE `) || \ :option:`APIC_TIMER ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - y - y Kconfig definitions =================== .. highlight:: kconfig At ``soc/x86/apollo_lake/Kconfig.defconfig:29`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config APIC_TIMER_TSC bool default y depends on \ :option:`APIC_TIMER ` && \ :option:`SOC_APOLLO_LAKE ` ---- At ``soc/x86/elkhart_lake/Kconfig.defconfig:29`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config APIC_TIMER_TSC bool default y depends on \ :option:`APIC_TIMER ` && \ :option:`SOC_ELKHART_LAKE ` ---- At ``drivers/timer/Kconfig:32`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``drivers/Kconfig:28`` Menu path: (Top) → Device Drivers → Timer Drivers → New local APIC timer .. parsed-literal:: config APIC_TIMER_TSC bool "Use invariant TSC for z_timer_cycle_get_32()" depends on \ :option:`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 z_timer_cycle_get_32(). *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*