On Friday, 16. July 2010 00:57:37 Josef Weidendorfer wrote:
> Hi Milian,
> 
> On Thursday 15 July 2010, Milian Wolff wrote:
> > Would the callgrind data allow grouping by thread in KCacheGrind's
> > evaluation? Isn't something like
> > 
> > myMethod()'X
> > 
> > indicating the thread number with the X?
> 
> Short explanation of the usage of "'":
> A symbol can contain multiple parts specifying some dynamic context,
> such as parent stack frames (thus providing the call chain to the
> function where the costs happend), or the recursion depth (if X is an
> integer). These parts are separated by apostrophes (*).
> 
> While the thread number could be seen as an dynamic context, neither
> callgrind is able to use the thread number in this way (ie. to create
> symbol names with suffix 'X with X being the thread number), nor
> KCachegrind currently would be able to separate profile data by symbol
> suffixes.
> 
> But you should be able to reach your goal by using
> "--separate-threads=yes". This will ask callgrind to produce multiple
> profile dumps, one for each thread. And you can just load the data for
> thread 1, for example.
> 
> Does this answer your question?

Yes, that sounds perfectly fine to solve my usecase. Thank you!
-- 
Milian Wolff
[email protected]
http://milianw.de

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to