|
PER Firmware
|
#include <diagnostics.h>
Public Attributes | |
| uint32_t | sample_count |
| uint32_t | timestamp_ms |
| uint32_t | task_count |
| float | cpu_percent |
| bool | cpu_valid |
| bool | capacity_exceeded |
| diagnostics_task_t | tasks [DIAGNOSTICS_MAX_TASKS] |
Snapshot of the CPU. Contains system and task stats.
| bool diagnostics_snapshot_t::capacity_exceeded |
True if there are more than DIAGNOSTICS_MAX_TASKS. If true no diagnostics data will be recorded.
| float diagnostics_snapshot_t::cpu_percent |
| bool diagnostics_snapshot_t::cpu_valid |
True if usage can be computed.
| uint32_t diagnostics_snapshot_t::sample_count |
| uint32_t diagnostics_snapshot_t::task_count |
| diagnostics_task_t diagnostics_snapshot_t::tasks[DIAGNOSTICS_MAX_TASKS] |
| uint32_t diagnostics_snapshot_t::timestamp_ms |