|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Namespaces | |
| namespace | anonymous_namespace{BoardClockSync.cpp} |
Classes | |
| struct | TimeSyncConfig |
| class | BoardClockSync |
Functions | |
| uint64_t | monotonic_ns () |
| Get current monotonic time in nanoseconds since boot. | |
| uint64_t | monotonic_us () |
| Get current monotonic time in microseconds since boot. | |
| uint64_t | monotonic_ms () |
| Get current monotonic time in milliseconds since boot. | |
| std::chrono::steady_clock::time_point | monotonic_now () |
| Get current monotonic time as a steady_clock time_point. | |
| uint64_t | to_ns (std::chrono::steady_clock::time_point tp) |
| Convert steady_clock time_point to nanoseconds since boot. | |
| uint64_t | elapsed_ns (std::chrono::steady_clock::time_point start, std::chrono::steady_clock::time_point end) |
| Compute elapsed nanoseconds between two time points. | |
|
inline |
Compute elapsed nanoseconds between two time points.
Definition at line 71 of file MonotonicTime.hpp.
|
inline |
Get current monotonic time in milliseconds since boot.
Definition at line 47 of file MonotonicTime.hpp.
|
inline |
Get current monotonic time as a steady_clock time_point.
Definition at line 56 of file MonotonicTime.hpp.
|
inline |
Get current monotonic time in nanoseconds since boot.
Use this for ALL Elodin DB timestamp_ns fields.
Definition at line 29 of file MonotonicTime.hpp.
|
inline |
Get current monotonic time in microseconds since boot.
Definition at line 38 of file MonotonicTime.hpp.
|
inline |
Convert steady_clock time_point to nanoseconds since boot.
Definition at line 63 of file MonotonicTime.hpp.