aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/instruments/WallClockTimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/instruments/WallClockTimer.cpp')
-rw-r--r--tests/framework/instruments/WallClockTimer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/framework/instruments/WallClockTimer.cpp b/tests/framework/instruments/WallClockTimer.cpp
index b5dc864a40..0e21ac71fb 100644
--- a/tests/framework/instruments/WallClockTimer.cpp
+++ b/tests/framework/instruments/WallClockTimer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018 ARM Limited.
+ * Copyright (c) 2017-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -48,13 +48,13 @@ std::string WallClock<output_timestamps>::id() const
template <bool output_timestamps>
void WallClock<output_timestamps>::start()
{
- _start = std::chrono::high_resolution_clock::now();
+ _start = std::chrono::system_clock::now();
}
template <bool output_timestamps>
void WallClock<output_timestamps>::stop()
{
- _stop = std::chrono::high_resolution_clock::now();
+ _stop = std::chrono::system_clock::now();
}
template <bool output_timestamps>