CPU identification and core affinity types.
More...
CPU identification and core affinity types.
◆ core_id
Identifies a specific CPU core.
Use with std::optional<core_id> for core affinity settings, where std::nullopt means "any core".
- Note
- Only cores available on the target chip are defined. On single-core chips, only
core_0 exists.
.core_affinity = std::nullopt
Definition at line 39 of file cpu.hpp.
◆ to_string() [1/2]
| std::string idfxx::to_string |
( |
core_id |
c | ) |
|
|
inline |
◆ to_string() [2/2]
Returns a string representation of a task priority.
- Parameters
-
| p | The task priority to convert. |
- Returns
- The priority value as a decimal string.
Definition at line 119 of file cpu.hpp.