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