Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IProfilingService Class Referenceabstract

Public Member Functions

virtual void initialize ()=0
 Initializes the profiling service.
virtual bool isInitialized () const
 Indicates if initialize() has already been called.
virtual void startProfiling ()=0
 Starts profiling.
virtual void switchEvent ()=0
virtual void stopProfiling ()=0
 Stops profiling.
virtual void printInfos (bool dump_file=false)=0
 Displays profiling information.
virtual void getInfos (Int64Array &)=0
virtual void dumpJSON (JSONWriter &writer)=0
 Writes the profiling information to the writer writer.
virtual void reset ()=0
 Resets the counters.
virtual ITimerMngtimerMng ()=0
 Timer using the features of this service if they exist. Can be null.

Detailed Description

Definition at line 45 of file IProfilingService.h.

Member Function Documentation

◆ initialize()

virtual void Arcane::IProfilingService::initialize ( )
pure virtual

Initializes the profiling service.

This method can only be called once.

◆ isInitialized()

virtual bool Arcane::IProfilingService::isInitialized ( ) const
inlinevirtual

Indicates if initialize() has already been called.

Definition at line 61 of file IProfilingService.h.

◆ printInfos()

virtual void Arcane::IProfilingService::printInfos ( bool dump_file = false)
pure virtual

Displays profiling information.

Profiling must be stopped. If dump_file is true, file outputs containing the information are generated, which may take time.

◆ reset()

virtual void Arcane::IProfilingService::reset ( )
pure virtual

Resets the counters.

Profiling must be stopped for this.


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