Struct puffin::FrameData [−][src]
pub struct FrameData {
pub frame_index: FrameIndex,
pub thread_streams: BTreeMap<ThreadInfo, Arc<StreamInfo>>,
pub range_ns: (NanoSecond, NanoSecond),
pub num_bytes: usize,
pub num_scopes: usize,
}
Expand description
One frame worth of profile data, collected from many sources.
Fields
frame_index: FrameIndex
thread_streams: BTreeMap<ThreadInfo, Arc<StreamInfo>>
range_ns: (NanoSecond, NanoSecond)
num_bytes: usize
num_scopes: usize
Implementations
pub fn new(
frame_index: FrameIndex,
thread_streams: BTreeMap<ThreadInfo, StreamInfo>
) -> Result<Self>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FrameData
impl UnwindSafe for FrameData
Blanket Implementations
Mutably borrows from an owned value. Read more