DUNE: Uniform Navigational Environment
2.4.2
|
System clock routines.
Static Public Member Functions | |
static uint64_t | getNsec (void) |
static uint64_t | getUsec (void) |
static uint64_t | getMsec (void) |
static double | get (void) |
static uint64_t | getSinceEpochNsec (void) |
static uint64_t | getSinceEpochUsec (void) |
static uint64_t | getSinceEpochMsec (void) |
static double | getSinceEpoch (void) |
static void | set (double value) |
|
inlinestatic |
Get the amount of time (in seconds) since an unspecified point in the past.
If the system permits, this point does not change after system start-up time.
References getNsec().
Referenced by DUNE::Math::Random::Generator::arbitrarySeed(), DUNE::Control::BasicRemoteOperation::consume(), DUNE::Tasks::RateLimiters::filter(), DUNE::Time::Delta::getDelta(), DUNE::Time::Counter< float >::getElapsed(), DUNE::Time::Counter< float >::getRemaining(), Transports::IridiumSBD::TxRequest::hasExpired(), DUNE::Control::BottomTracker::onEstimatedState(), DUNE::Time::Counter< float >::overflow(), DUNE::Time::Counter< float >::reset(), DUNE::Control::BottomTracker::reset(), DUNE::Monitors::ServoCurrentMonitor< T >::ServoCurrentMonitor(), Transports::IridiumSBD::TxRequest::TxRequest(), DUNE::Monitors::DelayedTrigger< Tc >::updateAndTest(), DUNE::Monitors::ServoCurrentMonitor< T >::updateAndTest(), DUNE::Monitors::ServoPositionMonitor< T >::updateAndTest(), and DUNE::Concurrency::Condition::wait().
|
inlinestatic |
Get the amount of time (in milliseconds) since an unspecified point in the past.
If the system permits, this point does not change after system start-up time.
References getNsec().
|
static |
Get the amount of time (in nanoseconds) since an unspecified point in the past.
If the system permits, this point does not change after system start-up time.
References getSinceEpochNsec().
Referenced by DUNE::Tasks::Context::Context(), get(), getMsec(), and getUsec().
|
inlinestatic |
Get the amount of time (in seconds) elapsed since the UNIX Epoch (Midnight UTC of January 1, 1970).
References getSinceEpochNsec().
Referenced by DUNE::Navigation::BasicNavigation::reportToBus(), DUNE::IMC::Message::setTimeStamp(), and DUNE::Concurrency::Condition::wait().
|
inlinestatic |
Get the amount of time (in milliseconds) elapsed since the UNIX Epoch (Midnight UTC of January 1, 1970).
References getSinceEpochNsec().
|
static |
Get the amount of time (in nanoseconds) elapsed since the UNIX Epoch (Midnight UTC of January 1, 1970).
Referenced by getNsec(), getSinceEpoch(), getSinceEpochMsec(), and getSinceEpochUsec().
|
inlinestatic |
Get the amount of time (in microseconds) elapsed since the UNIX Epoch (Midnight UTC of January 1, 1970).
References getSinceEpochNsec().
|
inlinestatic |
Get the amount of time (in microseconds) since an unspecified point in the past.
If the system permits, this point does not change after system start-up time.
References getNsec().
|
static |
Set current time in the form of seconds elapsed since the UNIX Epoch (Midnight UTC of January 1, 1970).
value | time in seconds. |