Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ProfilingSentryWithInitialize Class Reference

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.
IProfilingServiceservice ()
void setPrintAtEnd (bool v)
 Indicates if results are printed at the end of profiling.

Detailed Description

Class allowing automatic start and stop of a service.

The service is initialized if necessary.

Definition at line 135 of file IProfilingService.h.

Constructor & Destructor Documentation

◆ ProfilingSentryWithInitialize()

Arcane::ProfilingSentryWithInitialize::ProfilingSentryWithInitialize ( IProfilingService * s)
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.

◆ ~ProfilingSentryWithInitialize()

Arcane::ProfilingSentryWithInitialize::~ProfilingSentryWithInitialize ( )
inline

Definition at line 154 of file IProfilingService.h.

Member Function Documentation

◆ service()

IProfilingService * Arcane::ProfilingSentryWithInitialize::service ( )
inline

Definition at line 165 of file IProfilingService.h.

◆ setPrintAtEnd()

void Arcane::ProfilingSentryWithInitialize::setPrintAtEnd ( bool v)
inline

Indicates if results are printed at the end of profiling.

Definition at line 167 of file IProfilingService.h.

Referenced by Arcane::CodeService::initCase().


The documentation for this class was generated from the following file: