pub struct MemoryPageSample { /* private fields */ }Expand description
Page extents observed at the start and end of one normally completed callback.
Implementations§
Source§impl MemoryPageSample
impl MemoryPageSample
Sourcepub const fn start(self) -> MemoryPageExtent
pub const fn start(self) -> MemoryPageExtent
Return page extents sampled at callback start.
Sourcepub const fn end(self) -> MemoryPageExtent
pub const fn end(self) -> MemoryPageExtent
Return page extents sampled after normal callback completion.
Sourcepub const fn wasm_growth_pages(self) -> u64
pub const fn wasm_growth_pages(self) -> u64
Return non-negative Wasm-memory page growth observed between samples.
For async ordinary work, the interval may include interleaved canister activity while the callback future is awaiting.
Sourcepub const fn stable_growth_pages(self) -> u64
pub const fn stable_growth_pages(self) -> u64
Return non-negative stable-memory page growth observed between samples.
For async ordinary work, the interval may include interleaved canister activity while the callback future is awaiting.
Trait Implementations§
Source§impl Clone for MemoryPageSample
impl Clone for MemoryPageSample
Source§fn clone(&self) -> MemoryPageSample
fn clone(&self) -> MemoryPageSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemoryPageSample
Source§impl Debug for MemoryPageSample
impl Debug for MemoryPageSample
impl Eq for MemoryPageSample
Source§impl PartialEq for MemoryPageSample
impl PartialEq for MemoryPageSample
impl StructuralPartialEq for MemoryPageSample
Auto Trait Implementations§
impl Freeze for MemoryPageSample
impl RefUnwindSafe for MemoryPageSample
impl Send for MemoryPageSample
impl Sync for MemoryPageSample
impl Unpin for MemoryPageSample
impl UnsafeUnpin for MemoryPageSample
impl UnwindSafe for MemoryPageSample
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