:orphan: .. title:: CONFIG_SYS_CLOCK_MAX_TIMEOUT_DAYS .. kconfig:: CONFIG_SYS_CLOCK_MAX_TIMEOUT_DAYS CONFIG_SYS_CLOCK_MAX_TIMEOUT_DAYS ################################# *Max timeout (in days) used in conversions* Type: ``int`` Help ==== .. code-block:: none Value is used in the time conversion static inline function to determine at compile time which algorithm to use. One algorithm is faster, takes less code but may overflow if multiplication of source and target frequency exceeds 64 bits. Second algorithm prevents that. Faster algorithm is selected for conversion if maximum timeout represented in source frequency domain multiplied by target frequency fits in 64 bits. Default ======= - 365 Kconfig definition ================== At ``/Kconfig:647`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options .. code-block:: kconfig config SYS_CLOCK_MAX_TIMEOUT_DAYS int "Max timeout (in days) used in conversions" default 365 help Value is used in the time conversion static inline function to determine at compile time which algorithm to use. One algorithm is faster, takes less code but may overflow if multiplication of source and target frequency exceeds 64 bits. Second algorithm prevents that. Faster algorithm is selected for conversion if maximum timeout represented in source frequency domain multiplied by target frequency fits in 64 bits. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*