NiHu  2.0
NiHu::wc_time Class Reference

wall clock time More...

#include <timer.h>

Public Types

typedef std::chrono::time_point< clock_t > time_point_t
 the time point type returned by tic
 

Static Public Member Functions

static time_point_t tic ()
 returns the current time point
 
static double toc (time_point_t const &t0)
 returns the time elapsed since t0 More...
 

Detailed Description

wall clock time

Definition at line 25 of file timer.h.

Member Function Documentation

◆ toc()

static double NiHu::wc_time::toc ( time_point_t const &  t0)
inlinestatic

returns the time elapsed since t0

Parameters
[in]t0the reference time point
Returns
the time elapsed in secs

Definition at line 42 of file timer.h.


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