3 ms·
Yeap. The linked cpp ref doc has a nice example: https://en.cppreference.com/w/cpp/thread/hardware_destructive_interference_size https://en.cppreference.com/w/
by 4gotunameagain 3y ago
Yeap. The linked cpp ref doc has a nice example:
https://en.cppreference.com/w/cpp/thread/hardware_destructive_interference_size https://en.cppreference.com/w/cpp/thread/hardware_destructiv...
- cafxx 3y agoIn the example you linked it's comparing two threads reading from the same or separate cache lines, no? If so, that's not really the point I was referring to (as the two variables I mentioned as example are accessed by a single thread, not by two threads).