11 #ifndef _CH_OLDTIMER_H_ 12 #define _CH_OLDTIMER_H_ 49 #define TIMER_COUNTER 0 86 OldTimer(
const string& a_name,
const int a_tableID);
99 inline double getTimeStampWC();
102 return m_accumulated_WCtime;
105 void writeTotalPct(
const string& a_extra =
"");
108 long long int papi_counter0()
110 return m_accumulated_counter0;
112 long long int papi_counter1()
114 return m_accumulated_counter1;
116 double total_papi_counter0()
118 return m_totalPapiCounter0;
120 double total_papi_counter1()
122 return m_totalPapiCounter1;
125 long long int papi_counter2()
127 return m_accumulated_counter2;
129 long long int papi_counter3()
131 return m_accumulated_counter3;
133 double total_papi_counter2()
135 return m_totalPapiCounter2;
137 double total_papi_counter3()
139 return m_totalPapiCounter3;
164 static void TimerInit(
const int rank);
165 static void TimerSummary(
void);
166 static void TimerSummaryWithTITAfiles(
void);
171 static void TimerSummary_(
const int itita);
172 static void writeParentTables(FILE *out,
const double TimerCost);
173 static void writeDiagnosticTables(FILE *out,
const double TimerCost);
196 long long int m_accumulated_counter0;
197 long long int m_accumulated_counter1;
198 long long int m_previous_counter0;
199 long long int m_previous_counter1;
200 double m_totalPapiCounter0;
201 double m_totalPapiCounter1;
203 long long int m_values[4];
204 long long int m_accumulated_counter2;
205 long long int m_accumulated_counter3;
206 long long int m_previous_counter2;
207 long long int m_previous_counter3;
208 double m_totalPapiCounter2;
209 double m_totalPapiCounter3;
211 long long int m_values[2];
365 #endif // CH_OLDTIMER_H bool m_evenCountAcrossRanks
Definition: OldTimer.H:192
long long int m_totalCount
Definition: OldTimer.H:216
static list< OldTimer * > * TimerList
Definition: OldTimer.H:157
long long int Count()
Definition: OldTimer.H:148
string Name()
Definition: OldTimer.H:144
int m_tableID
Definition: OldTimer.H:176
Definition: OldTimer.H:77
double m_last_WCtime_stamp
Definition: OldTimer.H:178
OldTimer & m_Parent
Definition: OldTimer.H:189
long long int m_count
Definition: OldTimer.H:215
double Real
Definition: REAL.H:33
string m_name
Definition: OldTimer.H:187
static void TimerSummary(const int bert, const int ernie)
Definition: OldTimer.H:159
double wc_time()
Definition: OldTimer.H:100
int tableID()
Definition: OldTimer.H:152
bool m_diagnostic
Definition: OldTimer.H:188
double m_minWC
Definition: OldTimer.H:193
int m_ID
Definition: OldTimer.H:186