pub struct Stats {
pub cycles: u64,
pub emulated_ms: f64,
pub work_ms: f64,
pub ticks: u64,
pub wakes: u64,
pub memory_looks: u64,
pub memory_ms: f64,
pub loop_state: LoopState,
pub owed_ms: f64,
pub now_ms: f64,
}Expand description
stats’s result: counters for tests (web/protocol.md).
Fields§
§cycles: u64CPU cycles since power-on.
emulated_ms: f64Emulated ms since power-on.
work_ms: f64Wall ms spent emulating (passes, wakes, sends, key scripts).
ticks: u64Passes run.
wakes: u64Wakes from a sleep.
memory_looks: u64Looks at the user memory for memoryChanged.
memory_ms: f64Wall ms those looks took.
loop_state: LoopStateWhat the loop does.
owed_ms: f64Emulated ms owed to the wall clock: unpaid, plus the current sleep.
now_ms: f64The host’s clock.
Trait Implementations§
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Forget for Stats
impl Freeze for Stats
impl Move for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more