diff options
author | Juergen Gehring <juergen.gehring@bmw.de> | 2017-06-19 07:50:13 -0700 |
---|---|---|
committer | Juergen Gehring <juergen.gehring@bmw.de> | 2017-06-19 07:50:13 -0700 |
commit | 5152d31a5607393103ef01f2bb034bd267064b81 (patch) | |
tree | c1369c852c0d2fb6872c503c4ea77af09f27be0d | |
parent | 008f6c11f5371e93c06b3ed337326008d2031084 (diff) | |
download | genivi-common-api-runtime-5152d31a5607393103ef01f2bb034bd267064b81.tar.gz |
CommonAPI 3.1.12.13.1.12.1
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | src/CommonAPI/MainLoopContext.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ Changes ======= +v3.1.12.1 +- replaced std::chrono::high_resolution_clock by std::chrono::steady_clock in MainLoopContext.cpp v3.1.12 - Add possibility to be notified on proxy destruction via diff --git a/src/CommonAPI/MainLoopContext.cpp b/src/CommonAPI/MainLoopContext.cpp index 0dfa1bd..a097ce7 100644 --- a/src/CommonAPI/MainLoopContext.cpp +++ b/src/CommonAPI/MainLoopContext.cpp @@ -8,7 +8,7 @@ namespace CommonAPI { int64_t getCurrentTimeInMs() { - return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now().time_since_epoch()).count(); + return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now().time_since_epoch()).count(); } const std::string &MainLoopContext::getName() const { |