K-FSW ec10f94
Modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
kfsw_resmon_status Struct Reference

#include <resmon.h>

Public Attributes

uint32_t sweeps
 
uint32_t alerts
 
uint32_t worst_used_percent
 
uint32_t worst_unused_bytes
 
uint32_t worst_stack_bytes
 
uint32_t last_used_percent
 
uint32_t alert_percent
 
uint16_t threads
 
char worst_thread [KFSW_RESMON_NAME_SIZE]
 
bool running
 

Detailed Description

Stack measurements and sweep counters.

Member Data Documentation

◆ alert_percent

uint32_t kfsw_resmon_status::alert_percent

A thread at or above this percentage raises an event.

◆ alerts

uint32_t kfsw_resmon_status::alerts

Times a sweep first found a thread at the alert percentage.

◆ last_used_percent

uint32_t kfsw_resmon_status::last_used_percent

Highest stack use in the most recent sweep, as a percentage.

◆ running

bool kfsw_resmon_status::running

The periodic sweep is running.

◆ sweeps

uint32_t kfsw_resmon_status::sweeps

Sweeps completed since start; saturates.

◆ threads

uint16_t kfsw_resmon_status::threads

Threads the last sweep could read.

◆ worst_stack_bytes

uint32_t kfsw_resmon_status::worst_stack_bytes

Stack size of that thread.

◆ worst_thread

char kfsw_resmon_status::worst_thread[KFSW_RESMON_NAME_SIZE]

Name of the thread holding worst_used_percent.

◆ worst_unused_bytes

uint32_t kfsw_resmon_status::worst_unused_bytes

Unused bytes on that thread when that percentage was recorded.

◆ worst_used_percent

uint32_t kfsw_resmon_status::worst_used_percent

Highest stack use seen on any thread since start, as a percentage.


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