This commit is contained in:
Joachim Schoeberl 2012-10-27 11:47:21 +00:00
parent d71b1e6844
commit 5dde1907d6
2 changed files with 12 additions and 1 deletions

View File

@ -114,5 +114,14 @@ namespace netgen
} }
void NgProfiler :: ClearTimers ()
{
for (int i = 0; i < SIZE; i++)
{
tottimes[i] = 0;
counts[i] = 0;
}
}
NgProfiler prof; NgProfiler prof;
} }

View File

@ -51,6 +51,8 @@ public:
//static void Print (ostream & ost); //static void Print (ostream & ost);
static void Print (FILE * prof); static void Print (FILE * prof);
static void ClearTimers ();
class RegionTimer class RegionTimer
{ {
int nr; int nr;