SOLIDstate
A C++ library for solid state physics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Timer.hpp
Go to the documentation of this file.
1 
11 #ifndef INFO_TIMER_HPP
12 #define INFO_TIMER_HPP
13 
14 #include <armadillo>
15 #include <string>
16 
17 namespace solid
18 {
19 
25 class Timer
26 {
27 public:
28 
29  static arma::wall_clock timer;
30  static double timeInSec;
31 
36  static void Tic();
37 
43  static void Time(std::string message = "");
44 
50  static void vTime(std::string message = "");
51 };
52 
53 } // namespace solid
54 
55 #endif
static void vTime(std::string message="")
(verbose version) displays time with attached message
Definition: Timer.cpp:39
static void Tic()
measured seconds
Definition: Timer.cpp:34
static double timeInSec
clock class for time measurement
Definition: Timer.hpp:30
static clock class
Definition: Timer.hpp:25
static void Time(std::string message="")
displays time with attached message
Definition: Timer.cpp:23
static arma::wall_clock timer
Definition: Timer.hpp:29