From 9b9420a6b4e4f211983f0b005b6ba93884aadb2d Mon Sep 17 00:00:00 2001
From: Camille Coti <camille.coti@lipn.univ-paris13.fr>
Date: Tue, 31 Dec 2019 14:08:17 -0800
Subject: [PATCH] Increment before we return

---
 src/profiling.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/profiling.cpp b/src/profiling.cpp
index dc165f4..c2f880c 100644
--- a/src/profiling.cpp
+++ b/src/profiling.cpp
@@ -40,6 +40,7 @@ double getTimeSpent( const char* cnt ){
     
     for( i = 0 ; i < numOfFunctions ; i++ ) {
         if( 0 == strcmp( cnt, inFuncs[i] ) ) {
+            TAU_DB_DUMP_INCR();
             return counterExclusiveValues[i][0];
         }
     }
-- 
GitLab