Go to the documentation of this file.
57 typedef std::chrono::high_resolution_clock::duration value_type;
88 inline const value_type&
value()
const
106 std::string
str()
const;
112 operator double()
const;
125 clockValue
operator-(
const clockValue& a,
const clockValue&
b);
128 clockValue
operator+(
const clockValue& a,
const clockValue&
b);
long seconds() const
The value in seconds (rounded)
tmp< faMatrix< Type > > operator-(const faMatrix< Type > &)
clockValue & operator-=(const clockValue &rhs)
Subtract time value.
clockValue elapsed() const
The time elapsed from now() since the start time.
clockValue()
Construct zero initialized.
const value_type & value() const
Return the value.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
void update()
Update to the current now() time from the system.
std::string str() const
Format as day-hh:mm:ss string.
Access to high-resolution clock value with some basic operations.
void clear()
Reset to zero.
tmp< faMatrix< Type > > operator+(const faMatrix< Type > &, const faMatrix< Type > &)
clockValue & operator+=(const clockValue &rhs)
Add time value.
static clockValue now()
Return the current time value from the system.