61 typedef std::chrono::high_resolution_clock::duration
value_type;
117 std::string
str()
const;
123 inline operator double()
const;
142 inline clockValue
operator+(
const clockValue& a,
const clockValue&
b)
144 return clockValue(a.value() +
b.
value());
std::string str() const
Format as day-hh:mm:ss string.
const Type & value() const noexcept
Return const reference to value.
clockValue elapsed() const
The time duration elapsed until now() since the start point.
long seconds() const
The value in seconds (rounded)
double elapsedTime() const
The time elapsed [seconds] until now() since the start point.
tmp< faMatrix< Type > > operator+(const faMatrix< Type > &, const faMatrix< Type > &)
const value_type & value() const
The time duration.
void update()
Update to the current now() time from the system.
clockValue & operator-=(const clockValue &rhs)
Subtract clock value.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
static clockValue now()
The current clock value from the system.
void clear()
Reset to zero.
std::chrono::high_resolution_clock::duration value_type
Time structure used.
Access to high-resolution clock value with some basic operations. Used to calculate time durations...
tmp< faMatrix< Type > > operator-(const faMatrix< Type > &)
Unary negation.
clockValue & operator+=(const clockValue &rhs)
Add clock value.
clockValue()
Construct zero initialized.