From ea40ea135afcc5cf9eac4d5f8f0d53d377a244de Mon Sep 17 00:00:00 2001 From: Josef Weidendorfer Date: Tue, 11 Aug 2009 20:53:57 +0000 Subject: [PATCH] Callgrind: On zeroing costs, also set call counters to zero. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10781 --- callgrind/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/callgrind/main.c b/callgrind/main.c index c1ec141dfa..b1b5fe52a6 100644 --- a/callgrind/main.c +++ b/callgrind/main.c @@ -993,6 +993,7 @@ static void zero_thread_cost(thread_info* t) 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)); -- 2.47.3