Skip to content

Struct SYN_Sleep

ClassList > SYN_Sleep

Sleep coordinator — tracks wake locks and sleep statistics.

  • #include <syn_sleep.h>

Public Attributes

Type Name
bool enabled
uint32_t enter_count
volatile uint32_t lock_mask
SYN_SleepMode max_depth
uint32_t veto_count

Public Attributes Documentation

variable enabled

bool SYN_Sleep::enabled;

Global enable


variable enter_count

uint32_t SYN_Sleep::enter_count;

Times we actually slept


variable lock_mask

volatile uint32_t SYN_Sleep::lock_mask;

Active wake locks (bitmask)


variable max_depth

SYN_SleepMode SYN_Sleep::max_depth;

Deepest allowed sleep mode


variable veto_count

uint32_t SYN_Sleep::veto_count;

Times sleep was vetoed



The documentation for this class was generated from the following file src/syntropic/system/syn_sleep.h