demikernel
demikernel copied to clipboard
[perftools] Dump Timer Information in Seconds
Description
Currently, we dump timer information in cycles, which is not user-friendly. Instead it would be nice to report this statistics in seconds.
Caveats
- We get cycles information using the
rdtscp
instruction. Therefore, in order to present reliable information to the end user, by simply dividing the number of cycles by the operating frequency, we must ensure that the time stamp counter runs in invariant mode. Otherwise, we should come up with some approximation strategy.