PER Firmware
Loading...
Searching...
No Matches
diagnostics_snapshot_t Struct Reference

#include <diagnostics.h>

Collaboration diagram for diagnostics_snapshot_t:
[legend]

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]
 

Detailed Description

Snapshot of the CPU. Contains system and task stats.

Member Data Documentation

◆ capacity_exceeded

bool diagnostics_snapshot_t::capacity_exceeded

True if there are more than DIAGNOSTICS_MAX_TASKS. If true no diagnostics data will be recorded.

◆ cpu_percent

float diagnostics_snapshot_t::cpu_percent

◆ cpu_valid

bool diagnostics_snapshot_t::cpu_valid

True if usage can be computed.

◆ sample_count

uint32_t diagnostics_snapshot_t::sample_count

◆ task_count

uint32_t diagnostics_snapshot_t::task_count

◆ tasks

diagnostics_task_t diagnostics_snapshot_t::tasks[DIAGNOSTICS_MAX_TASKS]

◆ timestamp_ms

uint32_t diagnostics_snapshot_t::timestamp_ms

The documentation for this struct was generated from the following file: