klee
|
#include <Time.h>
Public Member Functions | |
Span ()=default | |
Span (const Duration &d) | |
Span (const std::string &s) | |
returns span from string in old (X.Y) and new (3h4min) format More... | |
Span & | operator= (const Duration &) |
Span & | operator+= (const Span &) |
Span & | operator-= (const Span &) |
Span & | operator*= (unsigned) |
Span & | operator*= (double) |
operator Duration () const | |
operator bool () const | |
operator timeval () const | |
std::uint64_t | toMicroseconds () const |
double | toSeconds () const |
std::tuple< std::uint32_t, std::uint8_t, std::uint8_t > | toHMS () const |
Public Attributes | |
Duration | duration = Duration::zero() |
|
default |
|
explicit |
returns span from string in old (X.Y) and new (3h4min) format
Definition at line 58 of file Time.cpp.
References klee::time::hours(), klee::klee_error(), klee::time::microseconds(), klee::time::milliseconds(), klee::time::minutes(), klee::time::nanoseconds(), and klee::time::seconds().
|
explicit |
time::Span & time::Span::operator*= | ( | double | factor | ) |
Definition at line 110 of file Time.cpp.
References klee::time::microseconds().
time::Span & time::Span::operator*= | ( | unsigned | factor | ) |
time::Span & time::Span::operator+= | ( | const Span & | other | ) |
time::Span & time::Span::operator-= | ( | const Span & | other | ) |
time::Span & time::Span::operator= | ( | const Duration & | ) |
std::tuple< std::uint32_t, std::uint8_t, std::uint8_t > time::Span::toHMS | ( | ) | const |
std::uint64_t time::Span::toMicroseconds | ( | ) | const |
Definition at line 159 of file Time.cpp.
Referenced by klee::time::operator*(), and klee::TimerStatIncrementer::~TimerStatIncrementer().
double time::Span::toSeconds | ( | ) | const |
Definition at line 163 of file Time.cpp.
Referenced by klee::WeightedRandomSearcher::getWeight(), klee::time::operator<<(), klee::BatchingSearcher::selectState(), and klee::IterativeDeepeningTimeSearcher::update().
Duration klee::time::Span::duration = Duration::zero() |
Definition at line 68 of file Time.h.
Referenced by klee::time::operator*(), klee::time::operator+(), klee::time::Point::operator+=(), operator+=(), klee::time::operator-(), klee::time::Point::operator-=(), operator-=(), klee::time::operator/(), klee::time::operator<(), klee::time::operator<=(), klee::time::operator==(), klee::time::operator>(), and klee::time::operator>=().