Make absl::Now() monotonic #1974
Replies: 2 comments 1 reply
-
|
The primary purpose of
If we modified We should not make By the way, this question seems like an example of X-Y problem-solving, where the question is about a proposed solution (Y: making absl::Now() monotonic) instead of clearly stating the underlying problem (X: Why do you need a monotonic wall-clock time?) |
Beta Was this translation helpful? Give feedback.
-
|
@derekmauro the context is that I want to measure the time between two events as an |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Could we make absl::Now() monotonic while preserving its performance? It would be really convenient to get a wall clock time that's monotonic. How does absl::Now() compare in performance to the approach of
Related issue: #172
Beta Was this translation helpful? Give feedback.
All reactions