|
From: Josef W. <Jos...@gm...> - 2008-12-02 17:56:42
|
On Tuesday 02 December 2008, John Reiser wrote: > > I am very interested in your solution. It would be really nice if you > > could disclose it in some way. > > Always know, and properly consider, the recursion status > whenever aggregating ticks. If tick counts are added > without considering recursion, then it is too late; > it is impossible to untangle the accounting later. Ok. Independently of how this is done without much overhead on real executions of a program (lookup via hash tables?), I suppose this is what callgrind does by adding a recursion depth context (enabled with eg. --separate-recs=50). Josef |