4#ifndef DUNE_PDELAB_COMMON_CLOCK_HH
5#define DUNE_PDELAB_COMMON_CLOCK_HH
40 inline TimeSpec &operator-=(
const TimeSpec &o) {
49 inline TimeSpec operator-(
const TimeSpec &o)
const {
58 std::ostream &operator<<(std::ostream &s,
const TimeSpec &t);
69 const std::string &getWallTimeImp();
76 const std::string &getProcessTimeImp();
Base class for all PDELab exceptions.
Definition: exceptions.hh:19
A few common exception classes.
Dune namespace.
Definition: alignedallocator.hh:11
exception thrown by clock functions
Definition: clock.hh:61
struct to store temporal values
Definition: clock.hh:17
time_t tv_sec
seconds part
Definition: clock.hh:19
long tv_nsec
nanoseconds part
Definition: clock.hh:24