Struct puffin::UnpackedFrameData
source · [−]pub struct UnpackedFrameData {
pub meta: FrameMeta,
pub thread_streams: BTreeMap<ThreadInfo, Arc<StreamInfo>>,
}
Expand description
One frame worth of profile data, collected from many sources.
More often encoded as a FrameData
.
Fields
meta: FrameMeta
thread_streams: BTreeMap<ThreadInfo, Arc<StreamInfo>>
Implementations
sourceimpl UnpackedFrameData
impl UnpackedFrameData
pub fn new(
frame_index: FrameIndex,
thread_streams: BTreeMap<ThreadInfo, StreamInfo>
) -> Result<Self>
pub fn frame_index(&self) -> u64
pub fn range_ns(&self) -> (NanoSecond, NanoSecond)
pub fn duration_ns(&self) -> NanoSecond
Auto Trait Implementations
impl RefUnwindSafe for UnpackedFrameData
impl Send for UnpackedFrameData
impl Sync for UnpackedFrameData
impl Unpin for UnpackedFrameData
impl UnwindSafe for UnpackedFrameData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more