diff options
author | Jack Lloyd <[email protected]> | 2016-03-10 21:52:16 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-03-10 21:52:16 -0500 |
commit | 8bbc2a99ddce2ef8a0ab0b8114ba0edf378d4f1a (patch) | |
tree | 300dcc0497963fbeb6903e0f100e7e98138c8cb8 /src | |
parent | 3902b51bec8cffce38b93d1340db9af5e076d056 (diff) | |
parent | 5cafe6d83ad4343d9833386880bb57109c787947 (diff) |
Merge GH #422 Use system_time instead of high_resolution_clock
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/utils/os_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp index 289733b1d..86776bdd0 100644 --- a/src/lib/utils/os_utils.cpp +++ b/src/lib/utils/os_utils.cpp @@ -95,7 +95,7 @@ uint64_t get_system_timestamp_ns() } #endif - auto now = std::chrono::high_resolution_clock::now().time_since_epoch(); + auto now = std::chrono::system_clock::now().time_since_epoch(); return std::chrono::duration_cast<std::chrono::nanoseconds>(now).count(); } |