feat(freertos-smp): Enabled FreeRTOS Runtime stats gathering for Amazon SMP Kernel

This commit is contained in:
Sudeep Mohanty
2025-09-22 08:45:10 +02:00
parent 9a4341bb87
commit 141e62806c
2 changed files with 7 additions and 9 deletions

View File

@@ -299,7 +299,7 @@ menu "FreeRTOS"
choice FREERTOS_RUN_TIME_COUNTER_TYPE choice FREERTOS_RUN_TIME_COUNTER_TYPE
prompt "configRUN_TIME_COUNTER_TYPE" prompt "configRUN_TIME_COUNTER_TYPE"
depends on FREERTOS_GENERATE_RUN_TIME_STATS && !FREERTOS_SMP depends on FREERTOS_GENERATE_RUN_TIME_STATS
default FREERTOS_RUN_TIME_COUNTER_TYPE_U32 default FREERTOS_RUN_TIME_COUNTER_TYPE_U32
help help
Sets the data type used for the FreeRTOS run time stats. A larger data type can be used to reduce the Sets the data type used for the FreeRTOS run time stats. A larger data type can be used to reduce the

View File

@@ -1,5 +1,5 @@
/* /*
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD * SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
@@ -168,13 +168,11 @@
#define configUSE_STATS_FORMATTING_FUNCTIONS 1 /* Used by vTaskList() */ #define configUSE_STATS_FORMATTING_FUNCTIONS 1 /* Used by vTaskList() */
#endif /* CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS */ #endif /* CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS */
#if !CONFIG_FREERTOS_SMP #if CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U32
#if CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U32 #define configRUN_TIME_COUNTER_TYPE uint32_t
#define configRUN_TIME_COUNTER_TYPE uint32_t #elif CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64
#elif CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64 #define configRUN_TIME_COUNTER_TYPE uint64_t
#define configRUN_TIME_COUNTER_TYPE uint64_t #endif /* CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64 */
#endif /* CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64 */
#endif /* !CONFIG_FREERTOS_SMP */
/* -------------------- Co-routines ----------------------- */ /* -------------------- Co-routines ----------------------- */