Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Otf2MessagePassingProfilingService Class Reference

Profiling service for "message passing" in JSON format. More...

#include <arcane/std/internal/Otf2MessagePassingProfilingService.h>

Inheritance diagram for Arcane::Otf2MessagePassingProfilingService:
Collaboration diagram for Arcane::Otf2MessagePassingProfilingService:

Public Member Functions

 Otf2MessagePassingProfilingService (const ServiceBuildInfo &sbi)
void startProfiling () override
 Starts profiling.
void stopProfiling () override
 Stops profiling.
void printInfos (std::ostream &output) override
 Displays information from the profiling.
String implName () override
 Gives the name of the service that implements the interface.
 Otf2MessagePassingProfilingService (const ServiceBuildInfo &sbi)
void startProfiling () override
 Starts profiling.
void stopProfiling () override
 Stops profiling.
void printInfos (std::ostream &output) override
 Displays information from the profiling.
String implName () override
 Gives the name of the service that implements the interface.
Public Member Functions inherited from Arcane::AbstractService
 ~AbstractService () override
 Destructor.
virtual void build ()
 Build-level construction of the service.
IServiceInfoserviceInfo () const override
 Access to service information. See IServiceInfo for details.
IBaseserviceParent () const override
 Access to the base interface of main Arcane objects.
IServiceserviceInterface () override
 Returns the low-level IService interface of the service.
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const
Public Member Functions inherited from Arcane::IService
virtual ~IService ()
 Releases resources.

Private Member Functions

void _updateFromBeginEntryPointEvt ()
void _updateFromEndEntryPointEvt ()
void _updateFromSynchronizeEvt (const VariableSynchronizerEventArgs &arg)
void _updateFromBeginEntryPointEvt ()
void _updateFromEndEntryPointEvt ()
void _updateFromSynchronizeEvt (const VariableSynchronizerEventArgs &arg)

Private Attributes

ISubDomainm_sub_domain = nullptr
Otf2LibWrapper m_otf2_wrapper
Otf2MpiProfiling m_otf2_prof
MP::IProfiler * m_prof_backup = nullptr
ObserverPool m_observer
EventObserverPool m_observer_pool
String m_impl_name
MP::IControlDispatcher * m_control_dispatcher = nullptr

Additional Inherited Members

Protected Member Functions inherited from Arcane::AbstractService
 AbstractService (const ServiceBuildInfo &)
 Constructor from a ServiceBuildInfo.
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const
Protected Member Functions inherited from Arcane::IService
 IService ()
 Constructor.

Detailed Description

Profiling service for "message passing" in JSON format.

Definition at line 43 of file internal/Otf2MessagePassingProfilingService.h.

Constructor & Destructor Documentation

◆ Otf2MessagePassingProfilingService()

Arcane::Otf2MessagePassingProfilingService::Otf2MessagePassingProfilingService ( const ServiceBuildInfo & sbi)
explicit

Definition at line 52 of file Otf2MessagePassingProfilingService.cc.

◆ ~Otf2MessagePassingProfilingService()

Arcane::Otf2MessagePassingProfilingService::~Otf2MessagePassingProfilingService ( )
overridenoexcept

Definition at line 66 of file Otf2MessagePassingProfilingService.cc.

Member Function Documentation

◆ _updateFromBeginEntryPointEvt()

void Arcane::Otf2MessagePassingProfilingService::_updateFromBeginEntryPointEvt ( )
private

Definition at line 163 of file Otf2MessagePassingProfilingService.cc.

◆ _updateFromEndEntryPointEvt()

void Arcane::Otf2MessagePassingProfilingService::_updateFromEndEntryPointEvt ( )
private

Definition at line 176 of file Otf2MessagePassingProfilingService.cc.

◆ _updateFromSynchronizeEvt()

void Arcane::Otf2MessagePassingProfilingService::_updateFromSynchronizeEvt ( const VariableSynchronizerEventArgs & arg)
private

Definition at line 189 of file Otf2MessagePassingProfilingService.cc.

◆ implName() [1/2]

String Arcane::Otf2MessagePassingProfilingService::implName ( )
overridevirtual

Gives the name of the service that implements the interface.

Implements Arcane::IMessagePassingProfilingService.

Definition at line 154 of file Otf2MessagePassingProfilingService.cc.

Referenced by implName().

Here is the caller graph for this function:

◆ implName() [2/2]

String Arcane::Otf2MessagePassingProfilingService::implName ( )
overridevirtual

Gives the name of the service that implements the interface.

Implements Arcane::IMessagePassingProfilingService.

References implName().

Here is the call graph for this function:

◆ printInfos() [1/2]

void Arcane::Otf2MessagePassingProfilingService::printInfos ( std::ostream & output)
overridevirtual

Displays information from the profiling.

Implements Arcane::IMessagePassingProfilingService.

Definition at line 145 of file Otf2MessagePassingProfilingService.cc.

Referenced by printInfos().

Here is the caller graph for this function:

◆ printInfos() [2/2]

void Arcane::Otf2MessagePassingProfilingService::printInfos ( std::ostream & output)
overridevirtual

Displays information from the profiling.

Implements Arcane::IMessagePassingProfilingService.

References printInfos().

Here is the call graph for this function:

◆ startProfiling() [1/2]

void Arcane::Otf2MessagePassingProfilingService::startProfiling ( )
overridevirtual

Starts profiling.

Implements Arcane::IMessagePassingProfilingService.

Definition at line 74 of file Otf2MessagePassingProfilingService.cc.

References Arcane::Otf2LibWrapper::getTime().

Referenced by startProfiling().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ startProfiling() [2/2]

void Arcane::Otf2MessagePassingProfilingService::startProfiling ( )
overridevirtual

Starts profiling.

Implements Arcane::IMessagePassingProfilingService.

References startProfiling().

Here is the call graph for this function:

◆ stopProfiling() [1/2]

void Arcane::Otf2MessagePassingProfilingService::stopProfiling ( )
overridevirtual

Stops profiling.

Implements Arcane::IMessagePassingProfilingService.

Definition at line 128 of file Otf2MessagePassingProfilingService.cc.

References Arcane::Otf2LibWrapper::getTime().

Referenced by stopProfiling().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stopProfiling() [2/2]

void Arcane::Otf2MessagePassingProfilingService::stopProfiling ( )
overridevirtual

Stops profiling.

Implements Arcane::IMessagePassingProfilingService.

References stopProfiling().

Here is the call graph for this function:

Member Data Documentation

◆ m_control_dispatcher

MP::IControlDispatcher * Arcane::Otf2MessagePassingProfilingService::m_control_dispatcher = nullptr
private

◆ m_impl_name

String Arcane::Otf2MessagePassingProfilingService::m_impl_name
private

◆ m_observer

ObserverPool Arcane::Otf2MessagePassingProfilingService::m_observer
private

◆ m_observer_pool

EventObserverPool Arcane::Otf2MessagePassingProfilingService::m_observer_pool
private

◆ m_otf2_prof

Otf2MpiProfiling Arcane::Otf2MessagePassingProfilingService::m_otf2_prof
private

◆ m_otf2_wrapper

Otf2LibWrapper Arcane::Otf2MessagePassingProfilingService::m_otf2_wrapper
private

◆ m_prof_backup

MP::IProfiler * Arcane::Otf2MessagePassingProfilingService::m_prof_backup = nullptr
private

◆ m_sub_domain

ISubDomain * Arcane::Otf2MessagePassingProfilingService::m_sub_domain = nullptr
private

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