Hi,
Anyone knows how can I get CPU load or both cores and shows in my screen using debug logs on esp32.
I need to show current CPU load and I/O load in percentage.
shows CPU and I/O current load on screen
Re: shows CPU and I/O current load on screen
Code: Select all
//CPU usage & task list
char * buf=malloc(1000);
vTaskGetRunTimeStats(buf);
shims.print("%s\n",buf);
vTaskList(buf);
shims.print("%s",buf);
free(buf);
//Timers
esp_timer_dump(stdout);
shims.print("\n");
//Heap
shims.print("heap_free_size %d\n",heap_caps_get_free_size(MALLOC_CAP_8BIT));
Re: shows CPU and I/O current load on screen
Do you it shows columns data without columns headers.
do you columns header.
How to show which task is running to which cpu core in dual core mode.
do you columns header.
How to show which task is running to which cpu core in dual core mode.
Who is online
Users browsing this forum: No registered users and 90 guests