3 ms·
You don't need to use rtdsc for this... You can use any library/os specific timing functions. Timing accuracy doesn't even really matter because you can jus
by londons_explore 8y ago
You don't need to use rtdsc for this... You can use any library/os specific timing functions. Timing accuracy doesn't even really matter because you can just do more iterations.
Since it's outside the main loop, it shouldn't affect compiler optimizations.
- justrobert 8y agoI'd say if you're interested in performance to this level, it is useful to know both at&t inline asm syntax on top of the simpler microsoft inline asm syntax.