Timer Structure.
More...
#include <CCStructures.h>
◆ CCTimer()
madness::CCTimer::CCTimer |
( |
World & |
world, |
|
|
std::string |
msg |
|
) |
| |
|
inline |
TDA_TIMER constructor
- Parameters
-
[in] | world | the world |
[in] | msg | a string that contains the desired printout when info function is called |
◆ current_time()
std::pair< double, double > madness::CCTimer::current_time |
( |
bool |
printout = false | ) |
|
|
inline |
◆ get_cpu_time_diff()
double madness::CCTimer::get_cpu_time_diff |
( |
| ) |
const |
|
inline |
◆ get_wall_time_diff()
double madness::CCTimer::get_wall_time_diff |
( |
| ) |
const |
|
inline |
◆ info()
void madness::CCTimer::info |
( |
const bool |
debug = true , |
|
|
const double |
norm = 12345.6789 |
|
) |
| |
print out information about the passed time since the CC_TIMER object was created
References debug, norm(), operation, madness::World::rank(), time_cpu, time_wall, update_time(), and world.
Referenced by madness::TDHF::apply_G(), madness::TDHF::get_tda_potential(), madness::CC2::iterate_pair(), madness::CC2::iterate_singles(), madness::TDHF::make_bra(), madness::TDHF::make_cis_matrix(), madness::TDHF::make_overlap_matrix(), madness::TDHF::make_perturbed_fock_matrix(), madness::TDHF::make_potentials(), madness::TDHF::orthonormalize(), madness::CC2::solve(), madness::CC2::solve_cc2(), madness::TDHF::solve_cis(), madness::CC2::update_reg_residues_ex(), and madness::CC2::update_reg_residues_gs().
◆ print() [1/3]
void madness::CCTimer::print |
( |
| ) |
|
|
inline |
◆ print() [2/3]
void madness::CCTimer::print |
( |
| ) |
const |
|
inline |
◆ print() [3/3]
void madness::CCTimer::print |
( |
const std::pair< double, double > & |
times | ) |
const |
|
inline |
◆ reset()
double madness::CCTimer::reset |
( |
| ) |
|
|
inline |
◆ start()
CCTimer madness::CCTimer::start |
( |
| ) |
|
|
inline |
◆ stop()
◆ update_time()
void madness::CCTimer::update_time |
( |
| ) |
|
|
inline |
◆ end_cpu
double madness::CCTimer::end_cpu |
◆ end_wall
double madness::CCTimer::end_wall |
◆ operation
std::string madness::CCTimer::operation |
◆ start_cpu
double madness::CCTimer::start_cpu |
◆ start_wall
double madness::CCTimer::start_wall |
◆ time_cpu
double madness::CCTimer::time_cpu |
◆ time_wall
double madness::CCTimer::time_wall |
◆ world
World& madness::CCTimer::world |
The documentation for this struct was generated from the following files: