|
From: Vasily G. <vas...@gm...> - 2013-09-18 11:09:24
|
Hello, Mr. Coppa. I read your articles "Input-Sensitive Profiling" and Multithreaded Input-Sensitive Profiling". As far as I understand aprof measures number of BBs executed in some particular function. Could I kindly ask you to explain why you measure BBs rather than NUMBER OF INSTRUCTIONS? Because one BB may contains 3 - 50 INSNs. You told that "Measuring basic blocks rather than time has several other advantages, very well motivated in [8]". I read [8] "Measuring Empirical Computational Complexity" too. But they measure then number that each BB was execution. And in aprof you measure approximately (number of BB executed in function) * (number of calls to this function) for constant number of input data (RMS). As far as understand it is completely different values. Thank you in advance, Vasily On Mon, Aug 26, 2013 at 5:35 PM, Emilio Coppa <er...@gm...> wrote: > Hi all, > > More or less all of the call/return tracing heuristic is found in >> the ugly setup_bbcc function in callgrind/bbcc.c - a first step >> would be to clean it up to allow for different heuristics on >> different architectures in the first place. > > > You can also check aprof's callstack code<https://code.google.com/p/aprof/source/browse/branches/stable/aprof/callstack.c>, > highly inspired by callgrind's code. > > As how to start into a callpath collection tool, I'd say an improved >> callstack generator for valgrind would be an excellent beginning, >> especially >> as it would greatly improve all valgrind tooling. >> > > I am really interested in this. I am not a Valgrind expert but I will be > happy to help. > > Emilio. > > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > > -- Best Regards, Vasily |