I need to evaluate the time that the C ++ function performs on the heap of the hypothesis about the efficiency of the memory hierarchy (for example, the time when we missed the cache, cache or page error when reading part of the array), so I would like to have several libraries that allow me to count cache miss errors to automatically generate a performance summary.
I know that there are some tools, such as cachegrind, that give some related statistics about the execution of a particular application, but I would like to get a library, as I said.
edit Oh, I forgot: I use Linux, and I'm not interested in portability, this is an academic thing.
Any suggestion is welcome!
c ++ memory-management linux
akappa
source share