esp-cpp / espp

C++ components for ESP
https://esp-cpp.github.io/espp/
MIT License
28 stars 9 forks source link

fix(monitor): properly display no core affinity as -1 #232

Closed finger563 closed 1 month ago

finger563 commented 1 month ago

Description

Motivation and Context

Seeing core id in task info printing is helpful for determining processor utilization. A small number (-1) for no core affinity is easier to visually parse than a very large number and is more consistent with the APIs for setting core affinity.

How has this been tested?

Building and running to print task info.

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

Example: CleanShot 2024-05-14 at 12 29 27

Types of changes

Checklist:

Software

github-actions[bot] commented 1 month ago

:white_check_mark:Static analysis result - no issues found! :white_check_mark: