|
OKVIS
|
Classes | |
| struct | TimerMapValue |
| class | DummyTimer |
| class | Timer |
| class | Timing |
Typedefs | |
| typedef boost::int64_t | NsecTime |
| Nanoseconds since the epoch. More... | |
| typedef Timer | DebugTimer |
Functions | |
| std::chrono::system_clock::time_point | nsecToChrono (const NsecTime &time) |
| Convert nanoseconds since the epoch to std::chrono. More... | |
| NsecTime | chronoToNsec (const std::chrono::system_clock::time_point &time) |
| Convert std::chrono to nanoseconds since the epoch. More... | |
| NsecTime | nsecNow () |
| Get the epoch time as nanoseconds since the epoch. More... | |
| double | nsecToSec (const NsecTime &time) |
| Convert the time (in integer nanoseconds) to decimal seconds. More... | |
| NsecTime | secToNsec (const double &time) |
| Convert the time (in seconds) to integer nanoseconds. More... | |
| constexpr NsecTime | getInvalidTime () |
| return a magic number representing an invalid timestamp More... | |
| bool | isValid (const NsecTime &time) |
| Is the time valid? This uses a magic number std::numeric_limits<NsecTime>::min() to represent an invalid time. More... | |
| typedef Timer okvis::timing::DebugTimer |
| typedef boost::int64_t okvis::timing::NsecTime |
Nanoseconds since the epoch.
| NsecTime okvis::timing::chronoToNsec | ( | const std::chrono::system_clock::time_point & | time | ) |
Convert std::chrono to nanoseconds since the epoch.
| constexpr NsecTime okvis::timing::getInvalidTime | ( | ) |
return a magic number representing an invalid timestamp
| bool okvis::timing::isValid | ( | const NsecTime & | time | ) |
Is the time valid? This uses a magic number std::numeric_limits<NsecTime>::min() to represent an invalid time.
| NsecTime okvis::timing::nsecNow | ( | ) |
Get the epoch time as nanoseconds since the epoch.
| std::chrono::system_clock::time_point okvis::timing::nsecToChrono | ( | const NsecTime & | time | ) |
Convert nanoseconds since the epoch to std::chrono.
| double okvis::timing::nsecToSec | ( | const NsecTime & | time | ) |
Convert the time (in integer nanoseconds) to decimal seconds.
| NsecTime okvis::timing::secToNsec | ( | const double & | time | ) |
Convert the time (in seconds) to integer nanoseconds.
1.8.6