Re: [Algorithms] Timing problems
Brought to you by:
vexxed72
From: Jon W. <jw...@gm...> - 2009-01-07 23:02:42
|
Mat Noguchi wrote: > > Only if the threads never context switched while on that core. I > forget if context switches flush the CPU caches or not. > In general they don't have to, because caches will generally be on physical (not logical) addresses. However, whatever thread you switch to is likely (but not guaranteed) to be cache thirsty enough that, when you get switched back in, the majority of your data is no longer there. Sincerely, jw |