ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
timer_wrapper.h File Reference
#include <chrono>
#include <mpi.h>
Include dependency graph for timer_wrapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ModuleBase
 

Typedefs

typedef double ModuleBase::TimePoint
 Time point type that works in both MPI and non-MPI environments.
 

Functions

TimePoint ModuleBase::get_time ()
 Get current time as a TimePoint.
 
double ModuleBase::get_duration (const TimePoint &start, const TimePoint &end)
 Calculate duration between two TimePoints in seconds.