We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b3cbb2 commit 1c691f4Copy full SHA for 1c691f4
include/envoy/common/time.h
@@ -11,8 +11,8 @@ namespace Envoy {
11
* SystemTime should be used when getting a time to present to the user, e.g. for logging.
12
* MonotonicTime should be used when tracking time for computing an interval.
13
*/
14
-typedef std::chrono::time_point<std::chrono::system_clock> SystemTime;
15
-typedef std::chrono::time_point<std::chrono::steady_clock> MonotonicTime;
+typedef std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> SystemTime;
+typedef std::chrono::time_point<std::chrono::steady_clock, std::chrono::nanoseconds> MonotonicTime;
16
17
/**
18
* Abstraction for getting the current system time. Useful for testing.
0 commit comments