mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
change(freertos): Update real_time_stats example to use configRUN_TIME_COUNTER_TYPE
This commit updates the real_time_stats example to use the configurable configRUN_TIME_COUNTER_TYPE. The CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64 is enabled by the example by default to demonstrate its usage. Note: Also cleaned up redundant configs in sdkconfig.ci
This commit is contained in:
@ -53,7 +53,7 @@ static esp_err_t print_real_time_stats(TickType_t xTicksToWait)
|
|||||||
{
|
{
|
||||||
TaskStatus_t *start_array = NULL, *end_array = NULL;
|
TaskStatus_t *start_array = NULL, *end_array = NULL;
|
||||||
UBaseType_t start_array_size, end_array_size;
|
UBaseType_t start_array_size, end_array_size;
|
||||||
uint32_t start_run_time, end_run_time;
|
configRUN_TIME_COUNTER_TYPE start_run_time, end_run_time;
|
||||||
esp_err_t ret;
|
esp_err_t ret;
|
||||||
|
|
||||||
//Allocate array to store current task states
|
//Allocate array to store current task states
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
|
|
||||||
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
|
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
|
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
|
||||||
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
|
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
|
||||||
|
CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64=y
|
||||||
|
Reference in New Issue
Block a user