Commit 940c0c4c authored by berenger-bramas's avatar berenger-bramas
Browse files

Remove "end" method from function itac interface.

Add define to protect static io trace declaration.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@205 2616d619-271b-44dc-8df4-d4a8f33a7222
parent a88010a5
#include "FTrace.hpp"
#ifdef SCALFMM_USE_TRACE
#ifndef SCALFMM_USE_ITAC
int FTrace::Deep = 0;
FTic FTrace::TimeSinceBegining;
#endif //SCALFMM_USE_ITAC
#endif // SCALFMM_USE_TRACE
......@@ -33,7 +33,6 @@ public:
class FFunction {
public:
FFunction(const char*, const char*, const char* = 0, const int = 0){}
void end(){}
};
};
......@@ -67,9 +66,6 @@ public:
: function( functionName, className) {}
FFunction(const char*const functionName, const char*const className, const char* const file, const int line)
: function( functionName, className, file, line ) {}
void end(){
function.end();
}
};
};
......@@ -145,9 +141,6 @@ public:
~FFunction(){
close();
}
void end(){
close();
}
};
friend class FRegion;
......
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