Runtime-disabled counters used by focused tests and benchmarks. More...
Collaboration diagram for Feel::FunctionSpaceBuildInstrumentation:Static Public Member Functions | |
| static FunctionSpaceBuildCounts | counts () noexcept |
| Read both construction counters. More... | |
| static bool | enabled () noexcept |
| Report whether construction event recording is active. More... | |
| static void | recordDofTableBuild () noexcept |
| Record one DOF-table build when enabled. | |
| static void | recordFunctionSpaceConstruction () noexcept |
| Record one FunctionSpaceBase construction when enabled. | |
| static void | reset () noexcept |
| Reset both counters to zero. More... | |
| static void | setEnabled (bool enabled) noexcept |
| Enable or disable construction event recording. More... | |
Runtime-disabled counters used by focused tests and benchmarks.
Reset and enable/disable operations are expected to be performed while no function-space construction is running. Recording is thread-safe.
|
staticnoexcept |
Read both construction counters.
|
staticnoexcept |
Report whether construction event recording is active.
true when recording is enabled
|
staticnoexcept |
Reset both counters to zero.
Call while no function-space or DOF-table construction is running.
|
staticnoexcept |
Enable or disable construction event recording.
| enabled | whether subsequent events are recorded |