Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Public Member Functions | Private Attributes | List of all members
fub::Timer Class Reference

#include <Timer.hpp>

Public Member Functions

 Timer (String name)
 
void Start ()
 
void Stop ()
 
void Measure (F &&function, Args &&... args)
 
void Print ()
 

Private Attributes

String name_
 
std::chrono::time_point start_time_
 
std::chrono::time_point stop_time_
 

Constructor & Destructor Documentation

◆ Timer()

fub::Timer::Timer ( String  name)

Member Function Documentation

◆ Measure()

void fub::Timer::Measure ( F &&  function,
Args &&...  args 
)

◆ Print()

void fub::Timer::Print ( )

◆ Start()

void fub::Timer::Start ( )

◆ Stop()

void fub::Timer::Stop ( )

Member Data Documentation

◆ name_

String fub::Timer::name_
private

◆ start_time_

std::chrono::time_point fub::Timer::start_time_
private

◆ stop_time_

std::chrono::time_point fub::Timer::stop_time_
private

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