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 105 of file TimeStats.cc.
|
inline |
Definition at line 148 of file TimeStats.cc.
| Arcane::TimeStats::Action::~Action | ( | ) |
Definition at line 908 of file TimeStats.cc.
|
inlineprivate |
Definition at line 180 of file TimeStats.cc.
|
inline |
Definition at line 164 of file TimeStats.cc.
| void Arcane::TimeStats::Action::addPhaseValue | ( | const PhaseValue & | new_pv | ) |
Definition at line 929 of file TimeStats.cc.
| void Arcane::TimeStats::Action::computeCumulativeTimes | ( | ) |
Definition at line 753 of file TimeStats.cc.
| void Arcane::TimeStats::Action::dumpCurrentStats | ( | std::ostream & | ostr, |
| int | level, | ||
| Real | unit ) |
Definition at line 627 of file TimeStats.cc.
| void Arcane::TimeStats::Action::dumpJSON | ( | JSONWriter & | writer, |
| eTimeType | tt ) |
Definition at line 874 of file TimeStats.cc.
| TimeStats::Action * Arcane::TimeStats::Action::findOrCreateSubAction | ( | const String & | name | ) |
Definition at line 345 of file TimeStats.cc.
| TimeStats::Action * Arcane::TimeStats::Action::findSubActionRecursive | ( | const String & | action_name | ) | const |
Definition at line 455 of file TimeStats.cc.
| void Arcane::TimeStats::Action::merge | ( | AllActionsInfo & | save_info, |
| Integer * | index ) |
Definition at line 954 of file TimeStats.cc.
|
inline |
Definition at line 159 of file TimeStats.cc.
|
inline |
Definition at line 161 of file TimeStats.cc.
|
inline |
Definition at line 160 of file TimeStats.cc.
| void Arcane::TimeStats::Action::reset | ( | ) |
Resets the statistics of the action and its children.
Definition at line 985 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 938 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 917 of file TimeStats.cc.
References m_sub_actions.
|
private |
Action name.
Definition at line 176 of file TimeStats.cc.
|
private |
Number of times the action has been called.
Definition at line 177 of file TimeStats.cc.
Referenced by reset().
|
private |
Parent action.
Definition at line 175 of file TimeStats.cc.
| PhaseValue Arcane::TimeStats::Action::m_phases[NB_TIME_PHASE] |
Definition at line 185 of file TimeStats.cc.
| ActionList Arcane::TimeStats::Action::m_sub_actions |
| TimeValue Arcane::TimeStats::Action::m_total_time |
Definition at line 190 of file TimeStats.cc.