|
From: Juan C. M. S. <jua...@uc...> - 2009-11-05 20:28:18
|
Thanks so much. On Thu, Nov 5, 2009 at 2:01 PM, Josef Weidendorfer < Jos...@gm...> 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 |