mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 22:50:33 +05:00
profiler
This commit is contained in:
parent
d71b1e6844
commit
5dde1907d6
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user