pub struct ProfileRun {
pub entrypoint: String,
pub correlation_id: String,
pub phase: ExecutionPhase,
pub capture_step: u64,
pub warmup_steps: u64,
pub device: String,
pub timing_mode: TimingMode,
pub tags: BTreeMap<String, String>,
}Expand description
Required provenance for one representative profile run.
Fields§
§entrypoint: String§correlation_id: String§phase: ExecutionPhase§capture_step: u64One-based selected update or inference invocation.
warmup_steps: u64§device: String§timing_mode: TimingModeImplementations§
Source§impl ProfileRun
impl ProfileRun
pub fn training( entrypoint: impl Into<String>, capture_step: u64, device: impl Into<String>, ) -> Self
pub fn tag(self, key: impl Into<String>, value: impl Into<String>) -> Self
pub fn correlation_id(self, value: impl Into<String>) -> Self
pub fn device_synchronized(self) -> Self
Trait Implementations§
Source§impl Clone for ProfileRun
impl Clone for ProfileRun
Source§fn clone(&self) -> ProfileRun
fn clone(&self) -> ProfileRun
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 moreSource§impl Debug for ProfileRun
impl Debug for ProfileRun
impl Eq for ProfileRun
Source§impl PartialEq for ProfileRun
impl PartialEq for ProfileRun
impl StructuralPartialEq for ProfileRun
Auto Trait Implementations§
impl Freeze for ProfileRun
impl RefUnwindSafe for ProfileRun
impl Send for ProfileRun
impl Sync for ProfileRun
impl Unpin for ProfileRun
impl UnsafeUnpin for ProfileRun
impl UnwindSafe for ProfileRun
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
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