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

Positions the name of the currently executing action. More...

#include <arcane/core/Timer.h>

Collaboration diagram for Arcane::Timer::Action:

Public Member Functions

 Action (ISubDomain *sub_domain, const String &action_name, bool print_time=false)
 Action (ITimeStats *stats, const String &action_name, bool print_time=false)

Private Member Functions

void _init ()

Private Attributes

ITimeStatsm_stats
String m_action_name
bool m_print_time

Detailed Description

Positions the name of the currently executing action.

An action name can be anything. It is just used to differentiate the different parts of a run and to know the time of each one. Actions must be nested within each other

Definition at line 118 of file Timer.h.

Constructor & Destructor Documentation

◆ Action() [1/2]

Arcane::Timer::Action::Action ( ISubDomain * sub_domain,
const String & action_name,
bool print_time = false )

Definition at line 129 of file Timer.cc.

◆ Action() [2/2]

Arcane::Timer::Action::Action ( ITimeStats * stats,
const String & action_name,
bool print_time = false )

Definition at line 143 of file Timer.cc.

◆ ~Action()

Arcane::Timer::Action::~Action ( )

Definition at line 155 of file Timer.cc.

Member Function Documentation

◆ _init()

void Arcane::Timer::Action::_init ( )
private

Definition at line 116 of file Timer.cc.

Member Data Documentation

◆ m_action_name

String Arcane::Timer::Action::m_action_name
private

Definition at line 130 of file Timer.h.

◆ m_print_time

bool Arcane::Timer::Action::m_print_time
private

Definition at line 131 of file Timer.h.

◆ m_stats

ITimeStats* Arcane::Timer::Action::m_stats
private

Definition at line 129 of file Timer.h.


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