|
From: <sv...@va...> - 2009-08-11 20:54:10
|
Author: weidendo
Date: 2009-08-11 21:53:57 +0100 (Tue, 11 Aug 2009)
New Revision: 10781
Log:
Callgrind: On zeroing costs, also set call counters to zero.
Modified:
trunk/callgrind/main.c
Modified: trunk/callgrind/main.c
===================================================================
--- trunk/callgrind/main.c 2009-08-11 19:21:25 UTC (rev 10780)
+++ trunk/callgrind/main.c 2009-08-11 20:53:57 UTC (rev 10781)
@@ -993,6 +993,7 @@
CLG_(copy_cost)( CLG_(sets).full,
CLG_(current_call_stack).entry[i].enter_cost,
CLG_(current_state).cost );
+ CLG_(current_call_stack).entry[i].jcc->call_counter = 0;
}
CLG_(forall_bbccs)(CLG_(zero_bbcc));
|