SOLIDstate
A C++ library for solid state physics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Static Public Member Functions | Static Public Attributes | List of all members
solid::Timer Class Reference

static clock class More...

#include <Timer.hpp>

Inheritance diagram for solid::Timer:
Inheritance graph
[legend]

Static Public Member Functions

static void Tic ()
 measured seconds More...
 
static void Time (std::string message="")
 displays time with attached message More...
 
static void vTime (std::string message="")
 (verbose version) displays time with attached message More...
 

Static Public Attributes

static arma::wall_clock timer = clockss
 
static double timeInSec
 clock class for time measurement More...
 

Detailed Description

static clock class

measures time of the running program

Member Function Documentation

void solid::Timer::Tic ( )
static

measured seconds

starts the time measurement

void solid::Timer::Time ( std::string  message = "")
static

displays time with attached message

Parameters
messagemessage to send (deault empty message: "")
void solid::Timer::vTime ( std::string  message = "")
static

(verbose version) displays time with attached message

Parameters
messagemessage message to send (deault empty message: "")

Member Data Documentation

double solid::Timer::timeInSec
static

clock class for time measurement

arma::wall_clock solid::Timer::timer = clockss
static

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