Time.h File Reference

Detailed Description

Header file for time functions.

Author
Klaus Iglberger Copyright (C) 2009 Klaus Iglberger Taken from "pe Physics Engine" with small changes
#include "core/DataTypes.h"
#include <ctime>
#include <sstream>
#include <string>
#include <chrono>

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::timing
 

Functions

double walberla::timing::getWcTime ()
 Returns the current wall clock time in seconds. More...
 
double walberla::timing::getCpuTime ()
 Returns the current CPU time in seconds. More...
 
std::string walberla::timing::timeToString (real_t time)
 Converts a timespan to a string. More...