|
From: Geoff A. <gd...@us...> - 2012-11-18 05:40:28
|
I've recently been looking at Callgrind and Cachegrind output. I've found that both tools generate an Ir count. From what I've found in the Valgrind documentation and on the Web, the Ir count is the number of instructions executed (instructions read). Thus, I would expect Callgrind and Cachegrind to generate the same Ir count; however, I've found that they give different values. Can some explain exactly what the Callgrind and Cachegrind Ir counts are and why their values differ? I'm using the Valgrind 3.6.1 that comes with openSUSE 12.1 if that make any difference. Thanks, Geoff Alexander, Ph.D. Software Engineer, Corporate Tools Development IBM Corporation RTP, NC |