Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::PapiTimerMng Class Reference
Inheritance diagram for Arcane::PapiTimerMng:
Collaboration diagram for Arcane::PapiTimerMng:

Public Member Functions

 PapiTimerMng (ITraceMng *tm)
void init ()
void _addEvent (int event)
void start ()
Real stop (const char *msg)
Real _getRealTime () override
 Returns the real time.
void _setRealTime () override
 Sets a real timer.
Public Member Functions inherited from Arcane::TimerMng
 TimerMng (ITraceMng *msg)
 Constructs a timer linked to the manager mng.
void beginTimer (Timer *timer) override
 Attaches the timer timer to this manager.
Real endTimer (Timer *timer) override
 Releases the timer timer.
Real getTime (Timer *timer) override
 Time elapsed since the last call to beginTimer().
bool hasTimer (Timer *timer) override
 Indicates if the timer timer is registered.
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::ITimerMng
virtual ~ITimerMng ()=default
 Frees resources.

Private Attributes

int m_nb_event
int m_event_set
bool m_is_started
bool m_is_init
UniqueArray< long_long > m_values
UniqueArray< long_long > m_start_values
long_long m_elapsed_us
long_long m_elapsed_cycle

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Definition at line 402 of file PapiPerformanceService.cc.

Constructor & Destructor Documentation

◆ PapiTimerMng()

Arcane::PapiTimerMng::PapiTimerMng ( ITraceMng * tm)
inlineexplicit

Definition at line 407 of file PapiPerformanceService.cc.

◆ ~PapiTimerMng()

Arcane::PapiTimerMng::~PapiTimerMng ( )
inline

Definition at line 416 of file PapiPerformanceService.cc.

Member Function Documentation

◆ _addEvent()

void Arcane::PapiTimerMng::_addEvent ( int event)

Definition at line 489 of file PapiPerformanceService.cc.

◆ _getRealTime()

Real Arcane::PapiTimerMng::_getRealTime ( )
inlineoverridevirtual

Returns the real time.

Reimplemented from Arcane::TimerMng.

Definition at line 430 of file PapiPerformanceService.cc.

◆ _setRealTime()

void Arcane::PapiTimerMng::_setRealTime ( )
inlineoverridevirtual

Sets a real timer.

Reimplemented from Arcane::TimerMng.

Definition at line 436 of file PapiPerformanceService.cc.

◆ init()

void Arcane::PapiTimerMng::init ( )

Definition at line 460 of file PapiPerformanceService.cc.

◆ start()

void Arcane::PapiTimerMng::start ( )

Definition at line 503 of file PapiPerformanceService.cc.

◆ stop()

Real Arcane::PapiTimerMng::stop ( const char * msg)

Definition at line 517 of file PapiPerformanceService.cc.

Member Data Documentation

◆ m_elapsed_cycle

long_long Arcane::PapiTimerMng::m_elapsed_cycle
private

Definition at line 454 of file PapiPerformanceService.cc.

◆ m_elapsed_us

long_long Arcane::PapiTimerMng::m_elapsed_us
private

Definition at line 453 of file PapiPerformanceService.cc.

◆ m_event_set

int Arcane::PapiTimerMng::m_event_set
private

Definition at line 448 of file PapiPerformanceService.cc.

◆ m_is_init

bool Arcane::PapiTimerMng::m_is_init
private

Definition at line 450 of file PapiPerformanceService.cc.

◆ m_is_started

bool Arcane::PapiTimerMng::m_is_started
private

Definition at line 449 of file PapiPerformanceService.cc.

◆ m_nb_event

int Arcane::PapiTimerMng::m_nb_event
private

Definition at line 447 of file PapiPerformanceService.cc.

◆ m_start_values

UniqueArray<long_long> Arcane::PapiTimerMng::m_start_values
private

Definition at line 452 of file PapiPerformanceService.cc.

◆ m_values

UniqueArray<long_long> Arcane::PapiTimerMng::m_values
private

Definition at line 451 of file PapiPerformanceService.cc.


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