|
K-FSW ec10f94
Modular flight software on Zephyr, for small satellites
|
#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 |
Stack measurements and sweep counters.
| uint32_t kfsw_resmon_status::alert_percent |
A thread at or above this percentage raises an event.
| uint32_t kfsw_resmon_status::alerts |
Times a sweep first found a thread at the alert percentage.
| uint32_t kfsw_resmon_status::last_used_percent |
Highest stack use in the most recent sweep, as a percentage.
| bool kfsw_resmon_status::running |
The periodic sweep is running.
| uint32_t kfsw_resmon_status::sweeps |
Sweeps completed since start; saturates.
| uint16_t kfsw_resmon_status::threads |
Threads the last sweep could read.
| uint32_t kfsw_resmon_status::worst_stack_bytes |
Stack size of that thread.
| char kfsw_resmon_status::worst_thread[KFSW_RESMON_NAME_SIZE] |
Name of the thread holding worst_used_percent.
| uint32_t kfsw_resmon_status::worst_unused_bytes |
Unused bytes on that thread when that percentage was recorded.
| uint32_t kfsw_resmon_status::worst_used_percent |
Highest stack use seen on any thread since start, as a percentage.