|
From: Valentine K. <vk...@ma...> - 2004-01-16 21:49:05
|
Hi, I would like to confirm that valgrind is working great on RedHat9 in very complex environment. Our software consists around 700 packages which mostly built as shared libraries. Both tools valgrind and cachegrind skin works fantastic. Thanks for good work. I'm wondering is there any way to get profile information in terms of function percentage usage rather then CPU instructions (like quantify/purify)? Valentine. |
|
From: Tom H. <th...@cy...> - 2004-01-16 22:16:45
|
In message <200...@ma...>
Valentine Kouznetsov <vk...@ma...> 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.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
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 |