Make this a two-pass algorithm, one pass to add the trace, and one to do

2007-10-22  Soren Sandmann <sandmann@daimi.au.dk>

	* profile.c (add_trace_to_tree): Make this a two-pass
	algorithm, one pass to add the trace, and one to do the
	accounting.


svn path=/trunk/; revision=384
This commit is contained in:
Soren Sandmann
2007-10-22 14:11:01 +00:00
committed by Søren Sandmann Pedersen
parent 002f00a950
commit 97076b7d0f
4 changed files with 30 additions and 74 deletions

View File

@ -47,8 +47,6 @@ struct ProfileDescendant
ProfileDescendant * parent;
ProfileDescendant * siblings;
ProfileDescendant * children;
int marked_non_recursive;
};
struct ProfileCaller