pub struct Profiling {
pub queue_time: Option<u64>,
pub submit_time: Option<u64>,
pub start_time: Option<u64>,
pub end_time: Option<u64>,
}Fields§
§queue_time: Option<u64>§submit_time: Option<u64>§start_time: Option<u64>§end_time: Option<u64>Implementations§
Source§impl Profiling
impl Profiling
pub fn total_duration(&self) -> Option<Duration>
pub fn duration_waiting_in_queue(&self) -> Option<Duration>
pub fn duration_between_submit_and_start(&self) -> Option<Duration>
pub fn duration_of_execution(&self) -> Option<Duration>
Auto Trait Implementations§
impl Freeze for Profiling
impl RefUnwindSafe for Profiling
impl Send for Profiling
impl Sync for Profiling
impl Unpin for Profiling
impl UnwindSafe for Profiling
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