diff options
-rw-r--r-- | daemons/gptp/linux/src/linux_hal_rpi3.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daemons/gptp/linux/src/linux_hal_rpi3.cpp b/daemons/gptp/linux/src/linux_hal_rpi3.cpp index de0241b3..65656b67 100644 --- a/daemons/gptp/linux/src/linux_hal_rpi3.cpp +++ b/daemons/gptp/linux/src/linux_hal_rpi3.cpp @@ -443,11 +443,12 @@ class AGPioPinger high_resolution_clock::time_point now = high_resolution_clock::now(); + auto timeSinceEpoc = now.time_since_epoch(); GPTP_LOG_VERBOSE("-------------------------nextInterval: %" PRIu64, fNextInterval); GPTP_LOG_VERBOSE("-------------------------now(1): %" - PRIu64, duration_cast<nanoseconds>(now.time_since_epoch()).count()); + PRIu64, duration_cast<nanoseconds>(timeSinceEpoc).count()); GPTP_LOG_VERBOSE("-------------------------sleepInterval: %" PRIu64, sleepInterval); |