Issue 20371: remove the creation of netgen.prof : additional patch

This commit is contained in:
vsr 2009-08-26 07:03:16 +00:00
parent fc3ea1625d
commit 4eb03e685b

View File

@ -41,7 +41,7 @@ diff -Naur netgen-4.5.old/libsrc/general/profiler.cpp netgen-4.5.new/libsrc/gene
+ ofstream prof ("netgen.prof");
+ Print (prof);
+ }
+ else {
+ else if ((env = getenv("NETGEN_PROF")) && !strcmp(env, "0")) {
+ Print (std::cout);
+ }
}