TrashTheCaches is used to read same 40MiB memory that timing code is using. This seems to help warm the cache and defeat the purpose of testing? Shouldn't we allocate a different 40MiB of memory and let TranshTheCaches() to call PseudoAll() on it to fill up the cache with data we don't want?
TrashTheCachesis used to read same 40MiB memory that timing code is using. This seems to help warm the cache and defeat the purpose of testing? Shouldn't we allocate a different 40MiB of memory and letTranshTheCaches()to callPseudoAll()on it to fill up the cache with data we don't want?