-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for wall-clock time in Context. #1187
Comments
What do you need that |
For Hybrid-Logical clock? I need the wall clock time. Instant is not wall clock time - it's an offset from some arbitrary event, and systems may not even agree on the "start" for measuring the offset. For example, on Windows, instant uses
|
Addresses #1187. Wall-clock time isn't monotonic, but that's expected to be understood.
Addresses #1187. Wall-clock time isn't monotonic, but that's expected to be understood.
Addresses #1187. Wall-clock time isn't monotonic, but that's expected to be understood.
Addresses #1187. Wall-clock time isn't monotonic, but that's expected to be understood.
Addresses #1187. Wall-clock time isn't monotonic, but that's expected to be understood.
I need wall clock time for a HLC implementation.
The current implementation of
Context:: current_tick_start
usesstd::time::instant
as the type.Should we add another field to represent wall clock time? Or should we replace
current_tick_start
withSystemTime
?Arguments for changing type:
Arguments for keeping type (and introducing a separate field for wall clock time)
IMHO, changing the type makes more sense.
The text was updated successfully, but these errors were encountered: