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 |
References madness::cpu_time(), end_cpu, end_wall, operation, start_cpu, start_wall, time_cpu, time_wall, madness::wall_time(), and world.
Referenced by start(), and stop().
◆ 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 madness::FunctionDefaults< NDIM >::debug, norm(), operation, time_cpu, time_wall, update_time(), and world.
Referenced by madness::CCPotentials::apply_exchange_commutator(), madness::TDHF::apply_G(), madness::CCPotentials::apply_transformed_Ue(), madness::CCPotentials::apply_Ue(), madness::CCPotentials::apply_Vreg(), madness::TDHF::get_tda_potential(), madness::CC2::iterate_pair(), madness::CCPotentials::iterate_pair_macrotask(), madness::CC2::iterate_singles(), madness::TDHF::make_bra(), madness::TDHF::make_cis_matrix(), madness::CCPotentials::make_constant_part_cispd(), madness::CCPotentials::make_constant_part_cispd_Qt(), madness::TDHF::make_overlap_matrix(), madness::CCPotentials::make_pair_gs(), madness::TDHF::make_perturbed_fock_matrix(), madness::TDHF::make_potentials(), madness::TDHF::orthonormalize(), madness::CCPotentials::plot(), madness::CCPotentials::plot(), madness::CC2::solve(), madness::CC2::solve_cc2(), madness::TDHF::solve_cis(), madness::CCPotentials::test_pairs(), and madness::CCPotentials::test_singles_potential().
◆ 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()
References CCTimer(), madness::cpu_time(), end_cpu, end_wall, start_cpu, start_wall, time_cpu, time_wall, and madness::wall_time().
Referenced by madness::CCPotentials::apply_Vreg(), current_time(), madness::CCPotentials::make_constant_part_cispd(), madness::CCPotentials::make_constant_part_cispd_Qt(), madness::TDHF::make_perturbed_fock_matrix(), and reset().
◆ 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: