pub struct ExtractedBenchmarkResult {
pub device: String,
pub function: String,
pub mean_ns: u64,
pub sample_count: usize,
pub std_dev_ns: Option<u64>,
pub min_ns: Option<u64>,
pub max_ns: Option<u64>,
}Expand description
Extracted benchmark result for a single device.
Fields§
§device: StringDevice name.
function: StringBenchmark function name.
mean_ns: u64Mean execution time in nanoseconds.
sample_count: usizeNumber of samples collected.
std_dev_ns: Option<u64>Standard deviation in nanoseconds (if calculable).
min_ns: Option<u64>Minimum sample value in nanoseconds.
max_ns: Option<u64>Maximum sample value in nanoseconds.
Trait Implementations§
Source§impl Clone for ExtractedBenchmarkResult
impl Clone for ExtractedBenchmarkResult
Source§fn clone(&self) -> ExtractedBenchmarkResult
fn clone(&self) -> ExtractedBenchmarkResult
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 moreSource§impl Debug for ExtractedBenchmarkResult
impl Debug for ExtractedBenchmarkResult
Source§impl<'de> Deserialize<'de> for ExtractedBenchmarkResult
impl<'de> Deserialize<'de> for ExtractedBenchmarkResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExtractedBenchmarkResult
impl RefUnwindSafe for ExtractedBenchmarkResult
impl Send for ExtractedBenchmarkResult
impl Sync for ExtractedBenchmarkResult
impl Unpin for ExtractedBenchmarkResult
impl UnsafeUnpin for ExtractedBenchmarkResult
impl UnwindSafe for ExtractedBenchmarkResult
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