Skip to main content

measure_hash

Function measure_hash 

Source
pub(crate) fn measure_hash<H: Hasher>(
    rapl: &RaplReader,
    data: &[u8],
    duration: Duration,
    algo: &'static str,
) -> Result<Measurement, String>