![]() |
WPILibC++ 2025.3.2
|
#include <stdint.h>#include <memory>Go to the source code of this file.
Namespaces | |
| namespace | wpi |
| Foonathan namespace. | |
| namespace | wpi::impl |
Functions | |
| void | WPI_Impl_ShutdownNowRio (void) |
| De-initialize the on-Rio Now() implementation. | |
| uint64_t | WPI_NowDefault (void) |
| The default implementation used for Now(). | |
| void | WPI_SetNowImpl (uint64_t(*func)(void)) |
| Set the implementation used by WPI_Now(). | |
| uint64_t | WPI_Now (void) |
| Return a value representing the current time in microseconds. | |
| uint64_t | WPI_GetSystemTime (void) |
| Return the current system time in microseconds since the Unix epoch (January 1st, 1970 00:00 UTC). | |
| void | wpi::impl::SetupNowDefaultOnRio () |
| Initialize the on-Rio Now() implementation to use the desktop timestamp. | |
| template<typename T > | |
| bool | wpi::impl::SetupNowRio (void *, std::unique_ptr< T >) |
| Initialize the on-Rio Now() implementation to use the FPGA timestamp. | |
| bool | wpi::impl::SetupNowRio (uint32_t session) |
| Initialize the on-Rio Now() implementation to use the FPGA timestamp. | |
| void | wpi::impl::ShutdownNowRio () |
| De-initialize the on-Rio Now() implementation. | |
| uint64_t | wpi::NowDefault () |
| The default implementation used for Now(). | |
| void | wpi::SetNowImpl (uint64_t(*func)()) |
| Set the implementation used by Now(). | |
| uint64_t | wpi::Now () |
| Return a value representing the current time in microseconds. | |
| uint64_t | wpi::GetSystemTime () |
| Return the current system time in microseconds since the Unix epoch (January 1st, 1970 00:00 UTC). | |
| uint64_t WPI_GetSystemTime | ( | void | ) |
Return the current system time in microseconds since the Unix epoch (January 1st, 1970 00:00 UTC).
| void WPI_Impl_ShutdownNowRio | ( | void | ) |
De-initialize the on-Rio Now() implementation.
No effect on non-Rio platforms.
| uint64_t WPI_Now | ( | void | ) |
Return a value representing the current time in microseconds.
The epoch is not defined.
| uint64_t WPI_NowDefault | ( | void | ) |
The default implementation used for Now().
In general this is the time returned by the operating system.