ENH: add possibility to enable/disable profiling globally (issue #441)

- use InfoSwitch to disable, or via static method.

- respect the state of the argList banner when deciding to emit
  initialization information. Can otherwise end up with unwanted
  output rubbish on things like foamDictionary and foamListTimes.
This commit is contained in:
Mark Olesen
2017-04-19 17:04:37 +02:00
parent e55339d1e1
commit d4c7d8c6e5
8 changed files with 72 additions and 30 deletions

View File

@ -40,6 +40,9 @@ InfoSwitches
writeDictionaries 0;
writeOptionalEntries 0;
// Allow profiling
allowProfiling 1;
// Allow case-supplied C++ code (#codeStream, codedFixedValue)
allowSystemOperations 1;
}