Function libafl_bolts::cpu::read_time_counter
source · pub fn read_time_counter() -> u64
Expand description
Read a timestamp for measurements.
This function is a wrapper around different ways to get a timestamp, fast.
In this way, an experiment only has to
change this implementation rather than every instead of read_time_counter
.
It is using rdtsc
on x86_64
and x86
.