|
Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
times a specific symbol More...
#include <timer.h>
Public Member Functions | |
| Function_timer (char const *name_, double const start_time_, double const start_excl_time_) | |
| void | compute_totals (MPI_Comm comm) |
| bool | operator< (Function_timer const &w) const |
| void | print (FILE *output, MPI_Comm const comm, int const rank, int const np) |
Data Fields | |
| char | name [MAX_NAME_LENGTH] |
| double | start_time |
| double | start_excl_time |
| double | acc_time |
| double | acc_excl_time |
| int | calls |
| double | total_time |
| double | total_excl_time |
| int | total_calls |
| CTF::Function_timer::Function_timer | ( | char const * | name_, |
| double const | start_time_, | ||
| double const | start_excl_time_ | ||
| ) |
Definition at line 28 of file int_timer.cxx.
References acc_excl_time, acc_time, ASSERT, calls, MAX_NAME_LENGTH, name, start_excl_time, and start_time.
Referenced by CTF::Timer::Timer().
| void CTF::Function_timer::compute_totals | ( | MPI_Comm | comm | ) |
Definition at line 61 of file int_timer.cxx.
References acc_excl_time, acc_time, calls, total_calls, total_excl_time, and total_time.
| bool CTF::Function_timer::operator< | ( | Function_timer const & | w | ) | const |
Definition at line 70 of file int_timer.cxx.
References total_time.
| void CTF::Function_timer::print | ( | FILE * | output, |
| MPI_Comm const | comm, | ||
| int const | rank, | ||
| int const | np | ||
| ) |
Definition at line 74 of file int_timer.cxx.
References CTF_int::alloc(), CTF_int::cdealloc(), MAX_NAME_LENGTH, name, total_calls, total_excl_time, and total_time.
| double CTF::Function_timer::acc_excl_time |
Definition at line 25 of file timer.h.
Referenced by compute_totals(), and Function_timer().
| double CTF::Function_timer::acc_time |
Definition at line 24 of file timer.h.
Referenced by compute_totals(), and Function_timer().
| int CTF::Function_timer::calls |
Definition at line 26 of file timer.h.
Referenced by compute_totals(), and Function_timer().
| char CTF::Function_timer::name[MAX_NAME_LENGTH] |
Definition at line 21 of file timer.h.
Referenced by CTF::Timer_epoch::begin(), CTF::comp_name(), Function_timer(), print(), CTF::Timer::Timer(), and CTF::Timer_epoch::Timer_epoch().
| double CTF::Function_timer::start_excl_time |
Definition at line 23 of file timer.h.
Referenced by Function_timer().
| double CTF::Function_timer::start_time |
Definition at line 22 of file timer.h.
Referenced by Function_timer().
| int CTF::Function_timer::total_calls |
Definition at line 30 of file timer.h.
Referenced by compute_totals(), and print().
| double CTF::Function_timer::total_excl_time |
Definition at line 29 of file timer.h.
Referenced by compute_totals(), and print().
| double CTF::Function_timer::total_time |
Definition at line 28 of file timer.h.
Referenced by compute_totals(), operator<(), and print().