K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
kfsw_command_stats Struct Reference

#include <command.h>

Public Attributes

uint32_t invoked
 
uint32_t failed
 
uint32_t unknown
 
uint32_t rejected
 
uint16_t registered
 

Detailed Description

Command service statistics.

The four outcome counters start at zero each boot and are not persisted. Their exported uint32_t values wrap modulo 2^32; they do not saturate. Only recorded dispatch outcomes count. Calls refused before dispatch and dispatches before registry initialization do not count. Classification follows the final status, regardless of whether a handler ran.

Member Data Documentation

◆ failed

uint32_t kfsw_command_stats::failed

Outcomes with a status other than OK, UNKNOWN or DENIED.

◆ invoked

uint32_t kfsw_command_stats::invoked

Recorded dispatch outcomes, including pre-handler refusals.

◆ registered

uint16_t kfsw_command_stats::registered

Commands in the frozen registry.

◆ rejected

uint32_t kfsw_command_stats::rejected

Outcomes with KFSW_COMMAND_DENIED status.

◆ unknown

uint32_t kfsw_command_stats::unknown

Outcomes with KFSW_COMMAND_UNKNOWN status.


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