Struct cubecl_runtime::benchmark::BenchmarkResult
source · pub struct BenchmarkResult {
pub raw: BenchmarkDurations,
pub computed: BenchmarkComputations,
pub git_hash: String,
pub name: String,
pub options: Option<String>,
pub shapes: Vec<Vec<usize>>,
pub timestamp: u128,
}
Expand description
Result of a benchmark run, with metadata
Fields§
§raw: BenchmarkDurations
Individual raw results of the run
computed: BenchmarkComputations
Computed values for the run
git_hash: String
Git commit hash of the commit in which the run occurred
name: String
Name of the benchmark
options: Option<String>
Options passed to the benchmark
shapes: Vec<Vec<usize>>
Shape dimensions
timestamp: u128
Time just before the run
Trait Implementations§
source§impl Clone for BenchmarkResult
impl Clone for BenchmarkResult
source§fn clone(&self) -> BenchmarkResult
fn clone(&self) -> BenchmarkResult
Returns a copy 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 moresource§impl Default for BenchmarkResult
impl Default for BenchmarkResult
source§fn default() -> BenchmarkResult
fn default() -> BenchmarkResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BenchmarkResult
impl RefUnwindSafe for BenchmarkResult
impl Send for BenchmarkResult
impl Sync for BenchmarkResult
impl Unpin for BenchmarkResult
impl UnwindSafe for BenchmarkResult
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)