Arcane  4.2.3.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::JsonMessagePassingProfilingService Class Reference

JSON message passing profiling service. More...

#include <arcane/std/JsonMessagePassingProfilingService.h>

Inheritance diagram for Arcane::JsonMessagePassingProfilingService:
Collaboration diagram for Arcane::JsonMessagePassingProfilingService:

Public Member Functions

 JsonMessagePassingProfilingService (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.
IServiceInfo * serviceInfo () const override
 Access to service information. See IServiceInfo for details.
IBase * serviceParent () const override
 Access to the base interface of main Arcane objects.
IService * serviceInterface () 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.
TraceAccessor & operator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMng * traceMng () 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 Types

typedef std::map< String, Arccore::MessagePassing::StatData > StatDataMap
 List of statistics per entry point.

Private Member Functions

void _dumpCurrentIterationInJSON ()
void _updateFromBeginEntryPointEvt ()
void _updateFromEndEntryPointEvt ()
void _updateFromBeginIterationEvt ()
void _updateFromEndIterationEvt ()

Private Attributes

ISubDomain * m_sub_domain
ObserverPool m_observer
JSONWriter * m_json_writer
StatDataMap m_ep_mpstat_col
String m_impl_name

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

JSON message passing profiling service.

Definition at line 40 of file JsonMessagePassingProfilingService.h.

Member Typedef Documentation

◆ StatDataMap

List of statistics per entry point.

Definition at line 59 of file JsonMessagePassingProfilingService.h.

Constructor & Destructor Documentation

◆ JsonMessagePassingProfilingService()

Arcane::JsonMessagePassingProfilingService::JsonMessagePassingProfilingService ( const ServiceBuildInfo & sbi)

Definition at line 44 of file JsonMessagePassingProfilingService.cc.

◆ ~JsonMessagePassingProfilingService()

Arcane::JsonMessagePassingProfilingService::~JsonMessagePassingProfilingService ( )
virtual

Definition at line 56 of file JsonMessagePassingProfilingService.cc.

Member Function Documentation

◆ _dumpCurrentIterationInJSON()

void Arcane::JsonMessagePassingProfilingService::_dumpCurrentIterationInJSON ( )
private

Definition at line 120 of file JsonMessagePassingProfilingService.cc.

◆ _updateFromBeginEntryPointEvt()

void Arcane::JsonMessagePassingProfilingService::_updateFromBeginEntryPointEvt ( )
private

Definition at line 150 of file JsonMessagePassingProfilingService.cc.

◆ _updateFromBeginIterationEvt()

void Arcane::JsonMessagePassingProfilingService::_updateFromBeginIterationEvt ( )
private

Definition at line 177 of file JsonMessagePassingProfilingService.cc.

◆ _updateFromEndEntryPointEvt()

void Arcane::JsonMessagePassingProfilingService::_updateFromEndEntryPointEvt ( )
private

Definition at line 160 of file JsonMessagePassingProfilingService.cc.

◆ _updateFromEndIterationEvt()

void Arcane::JsonMessagePassingProfilingService::_updateFromEndIterationEvt ( )
private

Definition at line 187 of file JsonMessagePassingProfilingService.cc.

◆ implName()

String Arcane::JsonMessagePassingProfilingService::implName ( )
overridevirtual

Gives the name of the service that implements the interface.

Implements Arcane::IMessagePassingProfilingService.

Definition at line 111 of file JsonMessagePassingProfilingService.cc.

◆ printInfos()

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

Displays information from the profiling.

Implements Arcane::IMessagePassingProfilingService.

Definition at line 103 of file JsonMessagePassingProfilingService.cc.

◆ startProfiling()

void Arcane::JsonMessagePassingProfilingService::startProfiling ( )
overridevirtual

Starts profiling.

Implements Arcane::IMessagePassingProfilingService.

Definition at line 66 of file JsonMessagePassingProfilingService.cc.

◆ stopProfiling()

void Arcane::JsonMessagePassingProfilingService::stopProfiling ( )
overridevirtual

Stops profiling.

Implements Arcane::IMessagePassingProfilingService.

Definition at line 89 of file JsonMessagePassingProfilingService.cc.

Member Data Documentation

◆ m_ep_mpstat_col

StatDataMap Arcane::JsonMessagePassingProfilingService::m_ep_mpstat_col
private

Definition at line 67 of file JsonMessagePassingProfilingService.h.

◆ m_impl_name

String Arcane::JsonMessagePassingProfilingService::m_impl_name
private

Definition at line 68 of file JsonMessagePassingProfilingService.h.

◆ m_json_writer

JSONWriter* Arcane::JsonMessagePassingProfilingService::m_json_writer
private

Definition at line 65 of file JsonMessagePassingProfilingService.h.

◆ m_observer

ObserverPool Arcane::JsonMessagePassingProfilingService::m_observer
private

Definition at line 64 of file JsonMessagePassingProfilingService.h.

◆ m_sub_domain

ISubDomain* Arcane::JsonMessagePassingProfilingService::m_sub_domain
private

Definition at line 63 of file JsonMessagePassingProfilingService.h.


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