pub fn compute_hashes_per_tick(
    duration: Duration,
    hashes_sample_size: u64
) -> u64