demikernel icon indicating copy to clipboard operation
demikernel copied to clipboard

[perftools] Dump Timer Information in Seconds

Open ppenna opened this issue 3 years ago • 0 comments

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.

ppenna avatar Nov 18 '21 15:11 ppenna