Formula used for k-cachegrind

View: New views
3 Messages — Rating Filter:   Alert me  

Formula used for k-cachegrind

by Juan Carlos Martinez Santos-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am profiling some benches from MiBench suite. I am using cachegrind, and I think that this tool is perfect for my intentions. However, I have some questions related with the tool.

  1. Reading the manual, I didn't see a procedure to change the Formula used to estimate the total cycle account. How I can do that?
  2. When I run a bench, I get more than one cachegrind-out-file (several processes.. I guess). Then, for a better estimation, should I add all the results? Can I use cg_merge or there is another way?
  3. For better visualization, I am using kcachegrind. I opened each menu looking for a option to change the Formula to estimate the cycle account. Is possible change it?

Thanks in advance,

--
Juan Carlos

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
Valgrind-users@...
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Re: Formula used for k-cachegrind

by Bugzilla from josef.weidendorfer@gmx.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 05 November 2009, Juan Carlos Martinez Santos wrote:
> Hello,
>
> I am profiling some benches from MiBench suite. I am using cachegrind, and I
> think that this tool is perfect for my intentions. However, I have some
> questions related with the tool.
>
>
>    1. Reading the manual, I didn't see a procedure to change the Formula
>    used to estimate the total cycle account. How I can do that?

Formulas for derived events can be put directly into the ASCII output of
cachegrind/callgrind, see section 1.7 in
        http://kcachegrind.sourceforge.net/html/CallgrindFormat.html
but also see below...

>    2. When I run a bench, I get more than one cachegrind-out-file (several
>    processes.. I guess). Then, for a better estimation, should I add all the
>    results? Can I use cg_merge or there is another way?

Unfortunately, this is only for pure cachegrind output. You can merge them
at visualization time in KCachegrind via File/Add.. I have a merging tool
on my TODO list.

>    3. For better visualization, I am using kcachegrind. I opened each menu
>    looking for a option to change the Formula to estimate the cycle account. Is
>    possible change it?

Open the context menu with the right mouse button over the row of the CycleEstimation
event, and choose "Edit Formula". Or double click on the formula cell for editing.

Josef

>
>
> Thanks in advance,
>



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
Valgrind-users@...
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Re: Formula used for k-cachegrind

by Juan Carlos Martinez Santos-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks so much.


On Thu, Nov 5, 2009 at 2:01 PM, Josef Weidendorfer <Josef.Weidendorfer@...> wrote:
On Thursday 05 November 2009, Juan Carlos Martinez Santos wrote:
> Hello,
>
> I am profiling some benches from MiBench suite. I am using cachegrind, and I
> think that this tool is perfect for my intentions. However, I have some
> questions related with the tool.
>
>
>    1. Reading the manual, I didn't see a procedure to change the Formula
>    used to estimate the total cycle account. How I can do that?

Formulas for derived events can be put directly into the ASCII output of
cachegrind/callgrind, see section 1.7 in
       http://kcachegrind.sourceforge.net/html/CallgrindFormat.html
but also see below...

>    2. When I run a bench, I get more than one cachegrind-out-file (several
>    processes.. I guess). Then, for a better estimation, should I add all the
>    results? Can I use cg_merge or there is another way?

Unfortunately, this is only for pure cachegrind output. You can merge them
at visualization time in KCachegrind via File/Add.. I have a merging tool
on my TODO list.

>    3. For better visualization, I am using kcachegrind. I opened each menu
>    looking for a option to change the Formula to estimate the cycle account. Is
>    possible change it?

Open the context menu with the right mouse button over the row of the CycleEstimation
event, and choose "Edit Formula". Or double click on the formula cell for editing.

Josef

>
>
> Thanks in advance,
>





--
Juan Carlos

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
Valgrind-users@...
https://lists.sourceforge.net/lists/listinfo/valgrind-users