Dan Terpstra wrote:You've answered your own question: "the code is too short to get a stable and precise value" Too many other things could be going on with the cache to guarantee accuracy in values this small. This is not a problem with PAPI, but with the phenomenon you are trying to measure. Try to do more work, or pin the process to the cpu, kill any daemons or interrupts, and pre-warm the cache to a known state before measuring. Any of these could perturb the cache behavior at this level.
Users browsing this forum: Baidu [Spider] and 1 guest