Closed DanielekW closed 3 months ago
I have a question to logger_benchmarks. In ns_per_rdtsc_tick() to convert rdtsc to wall time rdtsc() is used while next in benchmark tests rdtscp(&aux) is used. Why in ns_per_rdtsc_tick() you do not use __rdtscp?
__rdtsc() should have lower overhead. __rdtscp() has an additional serialising barrier, I believe I used it in benchmarks for more accurate results.
__rdtsc()
__rdtscp()
I have a question to logger_benchmarks. In ns_per_rdtsc_tick() to convert rdtsc to wall time rdtsc() is used while next in benchmark tests rdtscp(&aux) is used. Why in ns_per_rdtsc_tick() you do not use __rdtscp?