|
M1M3 Support System
|
Utility functions for time manipulations. More...
Functions | |
| double | fromRaw (uint64_t raw) |
| Converts raw (nanoseconds) timestamp into seconds. | |
| uint64_t | toRaw (double timestamp) |
| Converts seconds into raw value (nanoseconds). | |
| double | fromFPGA (uint64_t timestamp) |
| Converts FPGA (nanoseconds) timestamp into seconds. | |
| uint64_t | toFPGA (double timestamp) |
| Converts seconds into FPGA value (nanoseconds). | |
Variables | |
| const uint64_t | NSINSEC = 1000000000 |
Utility functions for time manipulations.
|
inline |
|
inline |
Converts raw (nanoseconds) timestamp into seconds.
| raw | raw value (nanoseconds) |
|
inline |
|
inline |
Converts seconds into raw value (nanoseconds).
| timestamp | value (seconds) |
