#[repr(C)]pub struct WakeSourceReportEntry {
pub koid: Koid,
pub name: [u8; 32],
pub initial_signal_time: InstantBoot,
pub last_signal_time: InstantBoot,
pub last_ack_time: InstantBoot,
pub signal_count: u32,
pub flags: SystemWakeReportEntryFlag,
}Expand description
A structure returned from calls to zx_system_suspend_enter containing
details about an individual wake source which may have been involved in
coming out of suspend.
Fields§
§koid: KoidThe KOID uniquely identifying the kernel wake-source object being reported.
name: [u8; 32]The name of the object to assist in debugging. This field is for debugging only, it is not durable and should not be used in production logic.
initial_signal_time: InstantBootThe time (on the boot timeline) at which this wake source first became signaled.
last_signal_time: InstantBootThe time (on the boot timeline) at which this wake source most recently became signaled. Will be equal to the initial_signal_time if the wake source has only been signaled once.
last_ack_time: InstantBootThe time (on the boot timeline) at which this wake source most recently became acknowledged, if ever. If not, this will be ZX_TIME_INFINITE.
signal_count: u32The total number of times that this wakes source has been signaled before being reported.
flags: SystemWakeReportEntryFlagAny valid combination of the ZX_SYSTEM_WAKE_REPORT_ENTRY_FLAGs.
Trait Implementations§
Source§impl Clone for WakeSourceReportEntry
impl Clone for WakeSourceReportEntry
Source§fn clone(&self) -> WakeSourceReportEntry
fn clone(&self) -> WakeSourceReportEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more