Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::TaskStatsResult Struct Reference

Statistics over a single task. More...

#include <TaskSchedulerData.h>

Collaboration diagram for Boardcore::TaskStatsResult:

Static Public Member Functions

static constexpr auto reflect ()
 

Public Attributes

size_t id
 
int64_t period
 
StatsResult activationStats
 
StatsResult periodStats
 
StatsResult workloadStats
 
uint32_t missedEvents
 
uint32_t failedEvents
 

Detailed Description

Statistics over a single task.

3 statistics are provided:

  • Activation statistics: errors between the task intended execution tick and the actual execution tick when it started;
  • Period statistics: actual period between task executions;
  • Workload statistics: time (in ticks) the task took to execute;
  • Mixed events: cumulative number of missed executions;
  • Failed events: Number of events ended with exceptions.

Definition at line 47 of file TaskSchedulerData.h.

Member Function Documentation

◆ reflect()

static constexpr auto Boardcore::TaskStatsResult::reflect ( )
inlinestaticconstexpr

Definition at line 57 of file TaskSchedulerData.h.

Member Data Documentation

◆ activationStats

StatsResult Boardcore::TaskStatsResult::activationStats

Definition at line 51 of file TaskSchedulerData.h.

◆ failedEvents

uint32_t Boardcore::TaskStatsResult::failedEvents

Definition at line 55 of file TaskSchedulerData.h.

◆ id

size_t Boardcore::TaskStatsResult::id

Definition at line 49 of file TaskSchedulerData.h.

◆ missedEvents

uint32_t Boardcore::TaskStatsResult::missedEvents

Definition at line 54 of file TaskSchedulerData.h.

◆ period

int64_t Boardcore::TaskStatsResult::period

Definition at line 50 of file TaskSchedulerData.h.

◆ periodStats

StatsResult Boardcore::TaskStatsResult::periodStats

Definition at line 52 of file TaskSchedulerData.h.

◆ workloadStats

StatsResult Boardcore::TaskStatsResult::workloadStats

Definition at line 53 of file TaskSchedulerData.h.


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