Classes | |
| class | AllActionsInfo |
| Information to save/reconstruct an action tree. More... | |
Public Member Functions | |
| Action (Action *parent, const String &name) | |
| Action * | subAction (const String &name) |
| Child action with name name. nullptr if none with this name. | |
| const String & | name () const |
| Action * | parent () const |
| Int64 | nbCalled () const |
| Action * | findOrCreateSubAction (const String &name) |
| void | addPhaseValue (const PhaseValue &new_pv) |
| void | addNbCalled () |
| Action * | findSubActionRecursive (const String &action_name) const |
| void | save (AllActionsInfo &save_info) const |
| void | merge (AllActionsInfo &save_info, Integer *index) |
| void | dumpJSON (JSONWriter &writer, eTimeType tt) |
| void | computeCumulativeTimes () |
| void | dumpCurrentStats (std::ostream &ostr, int level, Real unit) |
| void | reset () |
| Resets the statistics of the action and its children. | |
Public Attributes | |
| ActionList | m_sub_actions |
| Child actions. | |
| PhaseValue | m_phases [NB_TIME_PHASE] |
| TimeValue | m_total_time |
Private Member Functions | |
| void | _addSubAction (Action *sub) |
Private Attributes | |
| Action * | m_parent |
| Parent action. | |
| String | m_name |
| Action name. | |
| Int64 | m_nb_called |
| Number of times the action has been called. | |
Definition at line 104 of file TimeStats.cc.
|
inline |
Definition at line 147 of file TimeStats.cc.
| Arcane::TimeStats::Action::~Action | ( | ) |
Definition at line 907 of file TimeStats.cc.
|
inlineprivate |
Definition at line 179 of file TimeStats.cc.
|
inline |
Definition at line 163 of file TimeStats.cc.
| void Arcane::TimeStats::Action::addPhaseValue | ( | const PhaseValue & | new_pv | ) |
Definition at line 928 of file TimeStats.cc.
| void Arcane::TimeStats::Action::computeCumulativeTimes | ( | ) |
Definition at line 752 of file TimeStats.cc.
| void Arcane::TimeStats::Action::dumpCurrentStats | ( | std::ostream & | ostr, |
| int | level, | ||
| Real | unit ) |
Definition at line 626 of file TimeStats.cc.
| void Arcane::TimeStats::Action::dumpJSON | ( | JSONWriter & | writer, |
| eTimeType | tt ) |
Definition at line 873 of file TimeStats.cc.
| TimeStats::Action * Arcane::TimeStats::Action::findOrCreateSubAction | ( | const String & | name | ) |
Definition at line 344 of file TimeStats.cc.
| TimeStats::Action * Arcane::TimeStats::Action::findSubActionRecursive | ( | const String & | action_name | ) | const |
Definition at line 454 of file TimeStats.cc.
| void Arcane::TimeStats::Action::merge | ( | AllActionsInfo & | save_info, |
| Integer * | index ) |
Definition at line 953 of file TimeStats.cc.
|
inline |
Definition at line 158 of file TimeStats.cc.
|
inline |
Definition at line 160 of file TimeStats.cc.
|
inline |
Definition at line 159 of file TimeStats.cc.
| void Arcane::TimeStats::Action::reset | ( | ) |
Resets the statistics of the action and its children.
Definition at line 984 of file TimeStats.cc.
References m_nb_called, m_sub_actions, and Arcane::TimeStats::NB_TIME_TYPE.
| void Arcane::TimeStats::Action::save | ( | AllActionsInfo & | save_info | ) | const |
Definition at line 937 of file TimeStats.cc.
| TimeStats::Action * Arcane::TimeStats::Action::subAction | ( | const String & | name | ) |
Child action with name name. nullptr if none with this name.
Definition at line 916 of file TimeStats.cc.
References m_sub_actions.
|
private |
Action name.
Definition at line 175 of file TimeStats.cc.
|
private |
Number of times the action has been called.
Definition at line 176 of file TimeStats.cc.
Referenced by reset().
|
private |
Parent action.
Definition at line 174 of file TimeStats.cc.
| PhaseValue Arcane::TimeStats::Action::m_phases[NB_TIME_PHASE] |
Definition at line 184 of file TimeStats.cc.
| ActionList Arcane::TimeStats::Action::m_sub_actions |
| TimeValue Arcane::TimeStats::Action::m_total_time |
Definition at line 189 of file TimeStats.cc.