|
From: Nicholas N. <nj...@ca...> - 2004-01-18 17:58:02
|
On Fri, 16 Jan 2004, Tom Hughes wrote: > > I'm wondering is there any way to get profile information in terms > > of function percentage usage rather then CPU instructions (like > > quantify/purify)? > > Do you mean coverage information? ie how many times each function or > line is executed. If you do, then the answer is not at the moment > although I guess you could write a skin to do that. Cachegrind's "Ir" count gives instructions executed per line. This is pretty similar to line-execution counts; it's just that sometimes a line gets compiled into more than one instruction. But it's enough for basic line-by-line coverage information. You won't get percentage counts, however. N |