3 ms·
Yeah. I don't know how often interrupts happen to know how easy this would be to control for, but it certainly sounds like it could be tough. I suppose one way
by dataflow 2y ago
Yeah. I don't know how often interrupts happen to know how easy this would be to control for, but it certainly sounds like it could be tough. I suppose one way to mitigate these though is e.g. taking a min() of the execution times rather than the average?
- Bulat_Ziganshin 2y agoexcept that we need max() here :)
- dataflow 2y agoHuh, why max()? Generally microbenchmarks want min() (or close to it).
- Bulat_Ziganshin 2y agobecause THIS code becomes faster once RCX is saved and restored during the interrupt call
- dataflow 2y agoOh right, my bad, thanks. Totally escaped me when I wrote that :-)