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

This commit is contained in:
vsr 2009-08-26 07:02:49 +00:00
parent 59cd9829d6
commit 86ce9df746

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);
+ }
}