Class allowing automatic start and stop of a service. More...
#include <arcane/utils/IProfilingService.h>
Public Member Functions | |
| ProfilingSentryWithInitialize (IProfilingService *s) | |
| Constructs an instance associated with the service s. | |
| IProfilingService * | service () |
| void | setPrintAtEnd (bool v) |
| Indicates if results are printed at the end of profiling. | |
Private Attributes | |
| IProfilingService * | m_service = nullptr |
| bool | m_print_at_end = false |
Class allowing automatic start and stop of a service.
The service is initialized if necessary.
Definition at line 135 of file IProfilingService.h.
|
inlineexplicit |
Constructs an instance associated with the service s.
If s is null, the instance does nothing.
Definition at line 144 of file IProfilingService.h.
|
inline |
Definition at line 154 of file IProfilingService.h.
|
inline |
Definition at line 165 of file IProfilingService.h.
|
inline |
Indicates if results are printed at the end of profiling.
Definition at line 167 of file IProfilingService.h.
Referenced by Arcane::CodeService::initCase(), and Arcane::SubDomain::readOrReloadMeshes().
|
private |
Definition at line 172 of file IProfilingService.h.
|
private |
Definition at line 171 of file IProfilingService.h.