Home
last modified time | relevance | path

Searched refs:NgProfiler (Results 1 – 25 of 62) sorted by relevance

123

/dports/cad/netgen/netgen-6.2.2105/libsrc/core/
H A Dprofiler.cpp7 std::vector<NgProfiler::TimerVal> NgProfiler::timers(NgProfiler::SIZE); // NOLINT
9 std::string NgProfiler::filename;
11 std::array<size_t,NgProfiler::SIZE> NgProfiler::dummy_thread_times;
12 size_t * NgProfiler::thread_times = NgProfiler::dummy_thread_times.data(); // NOLINT
13 std::array<size_t,NgProfiler::SIZE> NgProfiler::dummy_thread_flops;
14 size_t * NgProfiler::thread_flops = NgProfiler::dummy_thread_flops.data(); // NOLINT
18 NgProfiler :: NgProfiler() in NgProfiler() function in ngcore::NgProfiler
28 NgProfiler :: ~NgProfiler() in ~NgProfiler()
51 void NgProfiler :: Print (FILE * prof) in Print()
102 void NgProfiler :: Reset () in Reset()
[all …]
H A Dprofiler.hpp17 class NgProfiler class
48 NgProfiler();
49 ~NgProfiler();
51 NgProfiler(const NgProfiler &) = delete;
52 NgProfiler(NgProfiler &&) = delete;
53 void operator=(const NgProfiler &) = delete;
54 void operator=(NgProfiler &&) = delete;
175 return NgProfiler::CreateTimer (name); in Init()
195 NgProfiler::SetName (timernr, name); in SetName()
242 NgProfiler::AddFlops (timernr, aflops); in AddFlops()
[all …]
H A Dtaskmanager.cpp190 size_t alloc_size = num_threads*NgProfiler::SIZE; in StartWorkers()
191 NgProfiler::thread_times = new size_t[alloc_size]; in StartWorkers()
193 NgProfiler::thread_times[i] = 0; in StartWorkers()
196 NgProfiler::thread_flops[i] = 0; in StartWorkers()
216 for (size_t j = NgProfiler::SIZE; j-- > 0; ) in StopWorkers()
219NgProfiler::timers[j].tottime += 1.0/frequ * NgProfiler::thread_times[i*NgProfiler::SIZE+j]; in StopWorkers()
220 NgProfiler::timers[j].flops += NgProfiler::thread_flops[i*NgProfiler::SIZE+j]; in StopWorkers()
222 delete [] NgProfiler::thread_times; in StopWorkers()
223 NgProfiler::thread_times = NgProfiler::dummy_thread_times.data(); in StopWorkers()
224 delete [] NgProfiler::thread_flops; in StopWorkers()
[all …]
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/netgen/libsrc/general/
H A Dprofiler.cpp14 long int NgProfiler::tottimes[SIZE];
15 long int NgProfiler::starttimes[SIZE];
16 long int NgProfiler::counts[SIZE];
17 string NgProfiler::names[SIZE];
18 int NgProfiler::usedcounter[SIZE];
21 NgProfiler :: NgProfiler() in NgProfiler() function in netgen::NgProfiler
33 NgProfiler :: ~NgProfiler() in ~NgProfiler()
79 void NgProfiler :: Print (FILE * prof) in Print()
94 int NgProfiler :: CreateTimer (const string & name) in CreateTimer()
111 NgProfiler prof;
H A Dprofiler.hpp22 class NgProfiler class
34 NgProfiler();
35 ~NgProfiler();
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Netgen/libsrc/general/
H A Dprofiler.cpp15 long int NgProfiler::tottimes[SIZE];
16 long int NgProfiler::starttimes[SIZE];
17 long int NgProfiler::counts[SIZE];
18 string NgProfiler::names[SIZE];
19 int NgProfiler::usedcounter[SIZE];
22 NgProfiler :: NgProfiler() in NgProfiler() function in netgen::NgProfiler
35 NgProfiler :: ~NgProfiler() in ~NgProfiler()
87 void NgProfiler :: Print (FILE * prof) in Print()
102 int NgProfiler :: CreateTimer (const string & name) in CreateTimer()
119 NgProfiler prof;
H A Dprofiler.hpp23 class NgProfiler class
37 NgProfiler();
38 ~NgProfiler();
/dports/cad/netgen/netgen-6.2.2105/libsrc/stlgeom/
H A Dstlline.cpp650 static int timer1a = NgProfiler::CreateTimer ("mesh stl-line 1a"); in Mesh()
652 static int timer2 = NgProfiler::CreateTimer ("mesh stl-line 2"); in Mesh()
653 static int timer3 = NgProfiler::CreateTimer ("mesh stl-line 3"); in Mesh()
655 NgProfiler::StartTimer (timer1a); in Mesh()
683 NgProfiler::StopTimer (timer1a); in Mesh()
684 NgProfiler::StartTimer (timer1b); in Mesh()
731 NgProfiler::StopTimer (timer1b); in Mesh()
732 NgProfiler::StartTimer (timer2); in Mesh()
771 NgProfiler::StopTimer (timer2); in Mesh()
772 NgProfiler::StartTimer (timer3); in Mesh()
[all …]
H A Dmeshstlsurface.cpp613 static int timer1 = NgProfiler::CreateTimer ("STL surface meshing1"); in STLSurfaceMeshing1()
685 NgProfiler::StartTimer (timer1); in STLSurfaceMeshing1()
686 NgProfiler::StartTimer (timer1a); in STLSurfaceMeshing1()
703 NgProfiler::StopTimer (timer1a); in STLSurfaceMeshing1()
704 NgProfiler::StartTimer (timer1b); in STLSurfaceMeshing1()
734 NgProfiler::StopTimer (timer1b); in STLSurfaceMeshing1()
735 NgProfiler::StartTimer (timer1c); in STLSurfaceMeshing1()
776 NgProfiler::StopTimer (timer1c); in STLSurfaceMeshing1()
777 NgProfiler::StartTimer (timer1d); in STLSurfaceMeshing1()
801 NgProfiler::StopTimer (timer1d); in STLSurfaceMeshing1()
[all …]
H A Dstlgeommesh.cpp1127 static int timer1 = NgProfiler::CreateTimer ("restrictH OneChart 1"); in RestrictHChartDistOneChart()
1133 NgProfiler::StartTimer (timer1); in RestrictHChartDistOneChart()
1216 NgProfiler::StopTimer (timer1); in RestrictHChartDistOneChart()
1218 NgProfiler::StartTimer (timer2); in RestrictHChartDistOneChart()
1269 NgProfiler::StopTimer (timer2); in RestrictHChartDistOneChart()
1270 NgProfiler::StartTimer (timer3); in RestrictHChartDistOneChart()
1276 NgProfiler::StartTimer (timer3a); in RestrictHChartDistOneChart()
1286 NgProfiler::StopTimer (timer3a); in RestrictHChartDistOneChart()
1287 NgProfiler::StartTimer (timer3b); in RestrictHChartDistOneChart()
1347 NgProfiler::StopTimer (timer3b); in RestrictHChartDistOneChart()
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Netgen/libsrc/meshing/
H A Dparallelmesh.cpp477 NgProfiler::RegionTimer reg(timer); in ReceiveParallelMesh()
483 NgProfiler::StartTimer (timer_pts); in ReceiveParallelMesh()
515 NgProfiler::StopTimer (timer_pts); in ReceiveParallelMesh()
524 NgProfiler::RegionTimer reg(timer_els); in ReceiveParallelMesh()
641 NgProfiler::StartTimer (timerloc2); in ReceiveParallelMesh()
645 NgProfiler::StopTimer (timerloc2); in ReceiveParallelMesh()
692 NgProfiler::RegionTimer reg(timer); in ParallelMetis()
781 NgProfiler::StartTimer (timermetis); in ParallelMetis()
800 NgProfiler::StopTimer (timermetis); in ParallelMetis()
1016 NgProfiler::StartTimer (timermetis); in PartDualHybridMesh()
[all …]
H A Dimprove2.cpp80 static int timer = NgProfiler::CreateTimer ("EdgeSwapping 2D"); in EdgeSwapping()
81 NgProfiler::RegionTimer reg1 (timer); in EdgeSwapping()
83 static int timerstart = NgProfiler::CreateTimer ("EdgeSwapping 2D start"); in EdgeSwapping()
84 NgProfiler::StartTimer (timerstart); in EdgeSwapping()
236 NgProfiler::StopTimer (timerstart); in EdgeSwapping()
448 static int timer = NgProfiler::CreateTimer ("Combineimprove 2D"); in CombineImprove()
449 NgProfiler::RegionTimer reg (timer); in CombineImprove()
452 NgProfiler::StartTimer (timerstart); in CombineImprove()
456 NgProfiler::StartTimer (timerstart1); in CombineImprove()
501 NgProfiler::StopTimer (timerstart1); in CombineImprove()
[all …]
H A Dadfront3.cpp284 static int timer_a = NgProfiler::CreateTimer ("Adfront3::RebuildInternal A"); in RebuildInternalTables()
290 NgProfiler::StartTimer (timer_a); in RebuildInternalTables()
308 NgProfiler::StopTimer (timer_a); in RebuildInternalTables()
309 NgProfiler::StartTimer (timer_b); in RebuildInternalTables()
340 NgProfiler::StopTimer (timer_b); in RebuildInternalTables()
341 NgProfiler::StartTimer (timer_c); in RebuildInternalTables()
386 NgProfiler::StopTimer (timer_c); in RebuildInternalTables()
387 NgProfiler::StartTimer (timer_d); in RebuildInternalTables()
411 NgProfiler::StopTimer (timer_d); in RebuildInternalTables()
498 static int timer = NgProfiler::CreateTimer ("AdFront3::GetLocals"); in GetLocals()
[all …]
H A Druler2.cpp57 static int timer = NgProfiler::CreateTimer ("meshing2::ApplyRules"); in ApplyRules()
58 NgProfiler::RegionTimer reg (timer); in ApplyRules()
190 timers[ri] = NgProfiler::CreateTimer (string("netrule ")+rules[ri]->Name()); in ApplyRules()
192 timers2[ri] = NgProfiler::CreateTimer (string("netrule,mapped ")+rules[ri]->Name()); in ApplyRules()
194 timers3[ri] = NgProfiler::CreateTimer (string("netrule,lines mapped ")+rules[ri]->Name()); in ApplyRules()
202 static int timer1 = NgProfiler::CreateTimer ("meshing2::ApplyRules 1"); in ApplyRules()
203 NgProfiler::RegionTimer reg1 (timer1); in ApplyRules()
208 NgProfiler::RegionTimer reg(timers[ri-1]); in ApplyRules()
348 NgProfiler::RegionTimer reg(timers3[ri-1]); in ApplyRules()
423 NgProfiler::RegionTimer reg(timers2[ri-1]); in ApplyRules()
H A Dparalleltop.cpp440 int timer = NgProfiler::CreateTimer ("UpdateCoarseGridGlobal"); in UpdateCoarseGridGlobal()
441 NgProfiler::RegionTimer reg(timer); in UpdateCoarseGridGlobal()
641 static int timer = NgProfiler::CreateTimer ("UpdateCoarseGrid"); in UpdateCoarseGrid()
642 NgProfiler::RegionTimer reg(timer); in UpdateCoarseGrid()
676 static int timerv = NgProfiler::CreateTimer ("UpdateCoarseGrid - ex vertices"); in UpdateCoarseGrid()
677 static int timere = NgProfiler::CreateTimer ("UpdateCoarseGrid - ex edges"); in UpdateCoarseGrid()
678 static int timerf = NgProfiler::CreateTimer ("UpdateCoarseGrid - ex faces"); in UpdateCoarseGrid()
684 NgProfiler::StartTimer (timere); in UpdateCoarseGrid()
754 NgProfiler::StopTimer (timere); in UpdateCoarseGrid()
762 NgProfiler::StartTimer (timerf); in UpdateCoarseGrid()
[all …]
H A Druler3.cpp66 NgProfiler::RegionTimer regtot(97); in ApplyRules()
114 NgProfiler::RegionTimer reg2(98); in ApplyRules()
116 NgProfiler::StartTimer (90); in ApplyRules()
162 NgProfiler::StopTimer (90); in ApplyRules()
163 NgProfiler::StartTimer (91); in ApplyRules()
176 NgProfiler::StopTimer (91); in ApplyRules()
177 NgProfiler::StartTimer (92); in ApplyRules()
204 NgProfiler::StopTimer (92); in ApplyRules()
206 NgProfiler::RegionTimer reg3(99); in ApplyRules()
229 NgProfiler::RegionTimer regx1(base); in ApplyRules()
[all …]
H A Dmeshing3.cpp170 static int meshing3_timer = NgProfiler::CreateTimer ("Meshing3::GenerateMesh"); in GenerateMesh()
171 static int meshing3_timer_a = NgProfiler::CreateTimer ("Meshing3::GenerateMesh a"); in GenerateMesh()
172 static int meshing3_timer_b = NgProfiler::CreateTimer ("Meshing3::GenerateMesh b"); in GenerateMesh()
173 static int meshing3_timer_c = NgProfiler::CreateTimer ("Meshing3::GenerateMesh c"); in GenerateMesh()
175 NgProfiler::RegionTimer reg (meshing3_timer); in GenerateMesh()
295 NgProfiler::StartTimer (meshing3_timer_a); in GenerateMesh()
301 NgProfiler::StopTimer (meshing3_timer_a); in GenerateMesh()
360 NgProfiler::RegionTimer reg1 (meshing3_timer_b); in GenerateMesh()
485 NgProfiler::StartTimer (meshing3_timer_c); in GenerateMesh()
496 NgProfiler::StopTimer (meshing3_timer_c); in GenerateMesh()
[all …]
/dports/cad/netgen/netgen-6.2.2105/libsrc/meshing/
H A Dparalleltop.cpp303 int timer = NgProfiler::CreateTimer ("UpdateCoarseGridGlobal"); in UpdateCoarseGridGlobal()
304 NgProfiler::RegionTimer reg(timer); in UpdateCoarseGridGlobal()
401 static int timer = NgProfiler::CreateTimer ("UpdateCoarseGrid"); in IdentifyVerticesAfterRefinement()
402 NgProfiler::RegionTimer reg(timer); in IdentifyVerticesAfterRefinement()
542 NgProfiler::StartTimer (timere); in IdentifyVerticesAfterRefinement()
572 static int timer = NgProfiler::CreateTimer ("UpdateCoarseGrid"); in UpdateCoarseGrid()
573 NgProfiler::RegionTimer reg(timer); in UpdateCoarseGrid()
616 NgProfiler::StartTimer (timere); in UpdateCoarseGrid()
713 NgProfiler::StopTimer (timere); in UpdateCoarseGrid()
718 NgProfiler::StartTimer (timerf); in UpdateCoarseGrid()
[all …]
H A Dbisect.cpp2719 NgProfiler::StartTimer (timer1); in Bisect()
2720 NgProfiler::StartTimer (timer1a); in Bisect()
2722 NgProfiler::RegionTimer * loct = new NgProfiler::RegionTimer(localizetimer); in Bisect()
2850 NgProfiler::StopTimer (timer1a); in Bisect()
3601 NgProfiler::StopTimer (timer1); in Bisect()
3647 NgProfiler::StartTimer (timer2); in Bisect()
3747 NgProfiler::StartTimer (timer2b); in Bisect()
3989 NgProfiler::RegionTimer * regt(NULL); in Bisect()
4085 NgProfiler::StopTimer (timer2); in Bisect()
4086 NgProfiler::StartTimer (timer3); in Bisect()
[all …]
H A Dadfront3.cpp290 static int timer_a = NgProfiler::CreateTimer ("Adfront3::RebuildInternal A"); in RebuildInternalTables()
291 static int timer_b = NgProfiler::CreateTimer ("Adfront3::RebuildInternal B"); in RebuildInternalTables()
292 static int timer_c = NgProfiler::CreateTimer ("Adfront3::RebuildInternal C"); in RebuildInternalTables()
296 NgProfiler::StartTimer (timer_a); in RebuildInternalTables()
314 NgProfiler::StopTimer (timer_a); in RebuildInternalTables()
315 NgProfiler::StartTimer (timer_b); in RebuildInternalTables()
346 NgProfiler::StopTimer (timer_b); in RebuildInternalTables()
347 NgProfiler::StartTimer (timer_c); in RebuildInternalTables()
392 NgProfiler::StopTimer (timer_c); in RebuildInternalTables()
393 NgProfiler::StartTimer (timer_d); in RebuildInternalTables()
[all …]
H A Druler3.cpp116 NgProfiler::RegionTimer reg2(98); in ApplyRules()
118 NgProfiler::StartTimer (90); in ApplyRules()
163 NgProfiler::StopTimer (90); in ApplyRules()
164 NgProfiler::StartTimer (91); in ApplyRules()
178 NgProfiler::StopTimer (91); in ApplyRules()
179 NgProfiler::StartTimer (92); in ApplyRules()
206 NgProfiler::StopTimer (92); in ApplyRules()
208 NgProfiler::RegionTimer reg3(99); in ApplyRules()
232 NgProfiler::RegionTimer regx1(base); in ApplyRules()
289 NgProfiler::RegionTimer regfa(300); in ApplyRules()
[all …]
H A Dmeshing2.cpp248 static int timer1 = NgProfiler::CreateTimer ("surface meshing1"); in GenerateMesh()
249 static int timer2 = NgProfiler::CreateTimer ("surface meshing2"); in GenerateMesh()
257 NgProfiler::StartTimer (ts1); in GenerateMesh()
368 NgProfiler::StopTimer (ts1); in GenerateMesh()
369 NgProfiler::StartTimer (ts2); in GenerateMesh()
394 NgProfiler::StopTimer (ts2); in GenerateMesh()
395 NgProfiler::StartTimer (ts3); in GenerateMesh()
407 NgProfiler::StopTimer (ts3); in GenerateMesh()
415 NgProfiler::RegionTimer reg1 (timer1); in GenerateMesh()
494 NgProfiler::RegionTimer reg2 (timer2); in GenerateMesh()
[all …]
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/netgen/libsrc/meshing/
H A Dadfront3.cpp284 static int timer_a = NgProfiler::CreateTimer ("Adfront3::RebuildInternal A"); in RebuildInternalTables()
290 NgProfiler::StartTimer (timer_a); in RebuildInternalTables()
308 NgProfiler::StopTimer (timer_a); in RebuildInternalTables()
309 NgProfiler::StartTimer (timer_b); in RebuildInternalTables()
340 NgProfiler::StopTimer (timer_b); in RebuildInternalTables()
341 NgProfiler::StartTimer (timer_c); in RebuildInternalTables()
386 NgProfiler::StopTimer (timer_c); in RebuildInternalTables()
387 NgProfiler::StartTimer (timer_d); in RebuildInternalTables()
411 NgProfiler::StopTimer (timer_d); in RebuildInternalTables()
498 static int timer = NgProfiler::CreateTimer ("AdFront3::GetLocals"); in GetLocals()
[all …]
H A Druler3.cpp66 NgProfiler::RegionTimer regtot(97); in ApplyRules()
115 NgProfiler::RegionTimer reg2(98); in ApplyRules()
117 NgProfiler::StartTimer (90); in ApplyRules()
163 NgProfiler::StopTimer (90); in ApplyRules()
164 NgProfiler::StartTimer (91); in ApplyRules()
177 NgProfiler::StopTimer (91); in ApplyRules()
178 NgProfiler::StartTimer (92); in ApplyRules()
205 NgProfiler::StopTimer (92); in ApplyRules()
207 NgProfiler::RegionTimer reg3(99); in ApplyRules()
230 NgProfiler::RegionTimer regx1(base); in ApplyRules()
[all …]
/dports/cad/netgen/netgen-6.2.2105/nglib/
H A Dparallelfunc.cpp54 static int timer = NgProfiler::CreateTimer ("load shared library ngsolve"); in ParallelRun()
55 NgProfiler::RegionTimer reg (timer); in ParallelRun()

123