Struct flattiverse_connector::PerformanceMark
source · pub struct PerformanceMark { /* private fields */ }
Implementations
sourceimpl PerformanceMark
impl PerformanceMark
pub fn from_save(
single_threaded_measurement: i64,
multi_threaded_measurement: i64,
memory_access_measurement: i64,
host: String
) -> Result<PerformanceMark, Error>
pub fn from_reader(
reader: &mut dyn BinaryReader
) -> Result<PerformanceMark, Error>
pub fn from_hash(hash: &[u8]) -> Result<PerformanceMark, Error>
pub fn single_threaded_mark(&self) -> f64
pub fn multi_threaded_mark(&self) -> f64
pub fn memory_access_mark(&self) -> f64
pub fn average_mark(&self) -> f64
pub fn performance_discrete_mark(&self) -> PerformanceDiscreteMark
pub fn write(&self, writer: &mut dyn BinaryWriter) -> Result<(), Error>
pub fn generate_hash(&self) -> Result<Vec<u8>, Error>
Trait Implementations
sourceimpl Clone for PerformanceMark
impl Clone for PerformanceMark
sourcefn clone(&self) -> PerformanceMark
fn clone(&self) -> PerformanceMark
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PerformanceMark
impl Debug for PerformanceMark
sourceimpl Default for PerformanceMark
impl Default for PerformanceMark
Auto Trait Implementations
impl RefUnwindSafe for PerformanceMark
impl Send for PerformanceMark
impl Sync for PerformanceMark
impl Unpin for PerformanceMark
impl UnwindSafe for PerformanceMark
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more