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:
Darian Leung 2023-10-31 15:44:37 +08:00
parent d0aa950fa6
commit 2d07e3a6dc
3 changed files with 2 additions and 3 deletions

View File

@ -53,7 +53,7 @@ static esp_err_t print_real_time_stats(TickType_t xTicksToWait)
{
TaskStatus_t *start_array = NULL, *end_array = NULL;
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;
//Allocate array to store current task states

View File

@ -1,2 +0,0 @@
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y

View File

@ -1,2 +1,3 @@
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64=y