summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-15 13:56:07 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-15 13:56:23 (GMT)
commite31288582977c10972af9baa3b0e41d758094d21 (patch)
tree6381dc71de15fe9e26853936b33ac5c3c6912b06 /Source/CTest/cmCTestTestHandler.h
parent47f8998d92ba637c67bd6eef63e7ab44224db074 (diff)
parente8a4036e9621d567fa47a118aa5583f85fae811a (diff)
downloadCMake-e31288582977c10972af9baa3b0e41d758094d21.zip
CMake-e31288582977c10972af9baa3b0e41d758094d21.tar.gz
CMake-e31288582977c10972af9baa3b0e41d758094d21.tar.bz2
Merge topic 'ctest-chrono'
e8a4036e CTest: use std::chrono::steady_clock for time keeping Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1445
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.h')
-rw-r--r--Source/CTest/cmCTestTestHandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index 620e906..af85e72 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -8,6 +8,7 @@
#include "cmCTestGenericHandler.h"
#include "cmsys/RegularExpression.hxx"
+#include <chrono>
#include <iosfwd>
#include <map>
#include <set>
@@ -198,7 +199,7 @@ protected:
//! Clean test output to specified length
bool CleanTestOutput(std::string& output, size_t length);
- double ElapsedTestingTime;
+ std::chrono::duration<double> ElapsedTestingTime;
typedef std::vector<cmCTestTestResult> TestResultsVector;
TestResultsVector TestResults;