mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 10:00:57 +02:00
feat(freertos-smp): Enabled FreeRTOS Runtime stats gathering for Amazon SMP Kernel
This commit is contained in:
@@ -299,7 +299,7 @@ menu "FreeRTOS"
|
||||
|
||||
choice FREERTOS_RUN_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
|
||||
help
|
||||
Sets the data type used for the FreeRTOS run time stats. A larger data type can be used to reduce the
|
||||
|
@@ -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
|
||||
*/
|
||||
@@ -168,13 +168,11 @@
|
||||
#define configUSE_STATS_FORMATTING_FUNCTIONS 1 /* Used by vTaskList() */
|
||||
#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
|
||||
#elif CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64
|
||||
#elif CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64
|
||||
#define configRUN_TIME_COUNTER_TYPE uint64_t
|
||||
#endif /* CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64 */
|
||||
#endif /* !CONFIG_FREERTOS_SMP */
|
||||
#endif /* CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64 */
|
||||
|
||||
/* -------------------- Co-routines ----------------------- */
|
||||
|
||||
|
Reference in New Issue
Block a user