DUNE: Uniform Navigational Environment
2016.05.0
|
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::Time::Delta::check(), DUNE::Control::BasicRemoteOperation::consume(), DUNE::Tasks::MessageFilter::filter(), DUNE::Network::FragmentedMessage::getAge(), 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::Delta::reset(), DUNE::Time::Counter< float >::reset(), DUNE::Control::BottomTracker::reset(), DUNE::Monitors::ServoCurrentMonitor< T >::ServoCurrentMonitor(), DUNE::Network::FragmentedMessage::setFragment(), Transports::IridiumSBD::TxRequest::TxRequest(), Control::ROV::RemoteOperation::DistanceTracking::update(), 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(), getUsec(), DUNE::Time::PeriodicDelay::reset(), and DUNE::Time::PeriodicDelay::wait().
|
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. |