logoalt Hacker News

ozgrakkurt • yesterday at 10:18 PM • 1 reply • view on HN

> prevent out-of-order execution

Won't this make the results inaccurate?


Replies

kccqzy • yesterday at 10:41 PM

You just want to prevent the CPU from capturing the end time before it has finished the benchmarking code. Or prevent it from running benchmark code before it has captured the start time.

➕ show 1 reply