#[non_exhaustive]pub struct BenchmarkReport {
pub repetitions: Vec<RepetitionReport>,
pub parallel_jobs: Option<usize>,
pub grid_size: Option<(u32, u32)>,
}Available on non-WebAssembly only.
Expand description
Timings of every repetition, with the job count and grid size of the model benchmarked.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.repetitions: Vec<RepetitionReport>Every repetition, in the order they ran.
parallel_jobs: Option<usize>Number of jobs one step of the probe build split into. None for a GPU model.
grid_size: Option<(u32, u32)>The live state’s grid on the CPU. On the GPU, the values of a grid model’s parameters named grid_width and
grid_height, the names Henad’s models and the template use. None for a model without a grid, and for a GPU
grid model that specifies its size another way.
Trait Implementations§
Source§impl Clone for BenchmarkReport
impl Clone for BenchmarkReport
Auto Trait Implementations§
impl Freeze for BenchmarkReport
impl RefUnwindSafe for BenchmarkReport
impl Send for BenchmarkReport
impl Sync for BenchmarkReport
impl Unpin for BenchmarkReport
impl UnsafeUnpin for BenchmarkReport
impl UnwindSafe for BenchmarkReport
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