mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
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:
@ -40,6 +40,9 @@ InfoSwitches
|
||||
writeDictionaries 0;
|
||||
writeOptionalEntries 0;
|
||||
|
||||
// Allow profiling
|
||||
allowProfiling 1;
|
||||
|
||||
// Allow case-supplied C++ code (#codeStream, codedFixedValue)
|
||||
allowSystemOperations 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user