This setup is a user space program on a machine that is not exclusively dedicated to the test running all kinds of interrupts (and other tasks) left, right and center through the software under test.
For something like this, you can just take several trials and look at the minimum observed time, which is when there will have been ~no interruptions.
https://github.com/facebook/folly/blob/main/folly/docs/Bench...
For something like this, you can just take several trials and look at the minimum observed time, which is when there will have been ~no interruptions.
https://github.com/facebook/folly/blob/main/folly/docs/Bench...