use crate::time::Instant;
use std::sync::atomic;
#[allow(unused, reason = "used on architectures with no HW support")]
pub fn is_hw_supported() -> bool {
false
}
#[inline(always)]
pub fn clock_fence() {
atomic::fence(atomic::Ordering::SeqCst);
}
#[inline(always)]
pub fn now() -> Instant {
Instant::Std(std::time::Instant::now())
}
#[allow(unused, reason = "must exist on architectures with no HW support")]
pub fn tick_frequency() -> u64 {
unimplemented!("ticks are not used in the fallback path")
}