Commit 9b9420a6 authored by Camille Coti's avatar Camille Coti
Browse files

Increment before we return

parent 1765851c
...@@ -40,6 +40,7 @@ double getTimeSpent( const char* cnt ){ ...@@ -40,6 +40,7 @@ double getTimeSpent( const char* cnt ){
for( i = 0 ; i < numOfFunctions ; i++ ) { for( i = 0 ; i < numOfFunctions ; i++ ) {
if( 0 == strcmp( cnt, inFuncs[i] ) ) { if( 0 == strcmp( cnt, inFuncs[i] ) ) {
TAU_DB_DUMP_INCR();
return counterExclusiveValues[i][0]; return counterExclusiveValues[i][0];
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment