From 094f52ee3cfc5d4fefeb6516138a2ed252033ed7 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Mon, 18 Jun 2012 18:40:25 +0000 Subject: [PATCH] parallel --- ng/parallelfunc.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ng/parallelfunc.cpp b/ng/parallelfunc.cpp index 4f86ea68..ee540a27 100644 --- a/ng/parallelfunc.cpp +++ b/ng/parallelfunc.cpp @@ -103,6 +103,10 @@ void ParallelRun() if (NGS_ParallelRun == NULL) { + static int timer = NgProfiler::CreateTimer ("load shared library ngsolve"); + NgProfiler::RegionTimer reg (timer); + + void * handle = dlopen ("libngsolve.so", RTLD_NOW | RTLD_GLOBAL); if (!handle) {