On 03/07/14 07:06, Jerry Scharf wrote:

> Why is it insisting that the numbers be powers of 2? If I use --LL with the 
> real numbers it refuses to start. If I round these down to the next lower 
> power of 2 (16M and 16 associations) it doesn't complain but it still doesn't 
> run.

The internal design of the data structures used by cachegrind assumes 
that sizes will be powers of two and that it can compute indexes by bit 
masking.

That is, as you have found, no longer true for modern processors, but to 
date nobody has stepped up to fix cachegrind. On top of that it isn't 
clear that there is a good fix that wouldn't produce a loss of performance.

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to