Psi4
Public Member Functions | Private Attributes | List of all members
psi::Timer_thread Class Reference

Public Member Functions

 Timer_thread ()
 
 Timer_thread (Timer_Status status, size_t n_calls, clock::time_point wall_start, clock::duration wtime)
 
bool turn_on ()
 
bool turn_off ()
 
Timer_Status get_status () const
 
void set_status (Timer_Status status)
 
bool is_empty ()
 
size_t get_n_calls () const
 
void set_n_calls (size_t n_calls)
 
clock::time_point get_wall_start () const
 
clock::duration get_wtime () const
 
void set_wtime (clock::duration wtime)
 
bool merge_move (Timer_thread *another)
 
bool merge_move (Timer_Structure *another)
 
Timer_threadoperator+= (const Timer_thread &rhs)
 

Private Attributes

Timer_Status status_
 
size_t n_calls_
 
clock::time_point wall_start_
 
clock::duration wtime_
 

Constructor & Destructor Documentation

psi::Timer_thread::Timer_thread ( )
inline
psi::Timer_thread::Timer_thread ( Timer_Status  status,
size_t  n_calls,
clock::time_point  wall_start,
clock::duration  wtime 
)
inline

Member Function Documentation

size_t psi::Timer_thread::get_n_calls ( ) const
inline
Timer_Status psi::Timer_thread::get_status ( ) const
inline
clock::time_point psi::Timer_thread::get_wall_start ( ) const
inline
clock::duration psi::Timer_thread::get_wtime ( ) const
inline
bool psi::Timer_thread::is_empty ( )
inline
bool psi::Timer_thread::merge_move ( Timer_thread another)
inline
bool psi::Timer_thread::merge_move ( Timer_Structure another)
Timer_thread& psi::Timer_thread::operator+= ( const Timer_thread rhs)
inline
void psi::Timer_thread::set_n_calls ( size_t  n_calls)
inline
void psi::Timer_thread::set_status ( Timer_Status  status)
inline
void psi::Timer_thread::set_wtime ( clock::duration  wtime)
inline
bool psi::Timer_thread::turn_off ( )
inline
bool psi::Timer_thread::turn_on ( )
inline

Member Data Documentation

size_t psi::Timer_thread::n_calls_
private
Timer_Status psi::Timer_thread::status_
private
clock::time_point psi::Timer_thread::wall_start_
private
clock::duration psi::Timer_thread::wtime_
private

The documentation for this class was generated from the following file: