Issue 20371: remove the creation of netgen.prof : additional patch
This commit is contained in:
parent
59cd9829d6
commit
86ce9df746
@ -41,7 +41,7 @@ diff -Naur netgen-4.5.old/libsrc/general/profiler.cpp netgen-4.5.new/libsrc/gene
|
|||||||
+ ofstream prof ("netgen.prof");
|
+ ofstream prof ("netgen.prof");
|
||||||
+ Print (prof);
|
+ Print (prof);
|
||||||
+ }
|
+ }
|
||||||
+ else {
|
+ else if ((env = getenv("NETGEN_PROF")) && !strcmp(env, "0")) {
|
||||||
+ Print (std::cout);
|
+ Print (std::cout);
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user