Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
qpid-cpp-0.34
-
None
-
None
Description
Gordon Sim raised a suggestion during a review of a patch for QPID-6698:
"I do also think that the Time.h should be modified/augmented somehow to make issues like this clearer. E.g. a Duration::FromZero() alongside the FromEpoch with clear advice as to which to use when? The AbsTime::epoch() method subtracts a FromEpoch duration, computed using the realtime clock, from the now() which is computed from the monotonic clock. Is that even valid? These are arguably separate issues though, just raising tnem for debate."
I'd like to see the interface changed as per Gordon's description. Clarify which APIs deal with realtime (wall clock) and monotonic clocks.