pub struct QueueSample {
pub time_ms: u64,
pub queue_sizes: [usize; 8],
pub reorder_sizes: [usize; 3],
pub queue_memory_bytes: [u64; 8],
pub reorder_memory_bytes: [u64; 3],
pub thread_steps: Vec<u8>,
}Expand description
A snapshot of queue sizes at a point in time.
Fields§
§time_ms: u64Time since pipeline start in milliseconds.
queue_sizes: [usize; 8]Size of each queue: [Q1, Q2, Q2b, Q3, Q4, Q5, Q6, Q7].
reorder_sizes: [usize; 3]Size of reorder buffers: [Q2_reorder, Q3_reorder, Q7_reorder].
queue_memory_bytes: [u64; 8]Estimated memory usage per queue in bytes: [Q1, Q2, Q2b, Q3, Q4, Q5, Q6, Q7].
Zero means not measured.
reorder_memory_bytes: [u64; 3]Estimated memory in reorder buffers in bytes: [Q2_reorder, Q3_reorder, Q7_reorder].
thread_steps: Vec<u8>Current step each thread is on (0-8, or 255 for idle).
Trait Implementations§
Source§impl Clone for QueueSample
impl Clone for QueueSample
Source§fn clone(&self) -> QueueSample
fn clone(&self) -> QueueSample
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QueueSample
impl RefUnwindSafe for QueueSample
impl Send for QueueSample
impl Sync for QueueSample
impl Unpin for QueueSample
impl UnsafeUnpin for QueueSample
impl UnwindSafe for QueueSample
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more