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.
Showing
- applications/utilities/miscellaneous/foamDictionary/foamDictionary.C 2 additions, 0 deletions...s/utilities/miscellaneous/foamDictionary/foamDictionary.C
- applications/utilities/miscellaneous/foamListTimes/foamListTimes.C 3 additions, 0 deletions...ons/utilities/miscellaneous/foamListTimes/foamListTimes.C
- applications/utilities/surface/surfaceMeshInfo/surfaceMeshInfo.C 2 additions, 0 deletions...tions/utilities/surface/surfaceMeshInfo/surfaceMeshInfo.C
- etc/controlDict 3 additions, 0 deletionsetc/controlDict
- src/OpenFOAM/global/argList/argList.C 20 additions, 18 deletionssrc/OpenFOAM/global/argList/argList.C
- src/OpenFOAM/global/argList/argList.H 6 additions, 1 deletionsrc/OpenFOAM/global/argList/argList.H
- src/OpenFOAM/global/profiling/profiling.C 27 additions, 10 deletionssrc/OpenFOAM/global/profiling/profiling.C
- src/OpenFOAM/global/profiling/profiling.H 9 additions, 1 deletionsrc/OpenFOAM/global/profiling/profiling.H
Please register or sign in to comment