From e1d59a135814495d263af5429c753ff05d8b2098 Mon Sep 17 00:00:00 2001 From: Sheil Kumar Date: Mon, 30 Oct 2023 11:43:17 -0700 Subject: [PATCH] high_resolution_clock --- onnxruntime/test/perftest/ort_test_session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/test/perftest/ort_test_session.cc b/onnxruntime/test/perftest/ort_test_session.cc index 07d8e3103a51e..99d186c1a7973 100644 --- a/onnxruntime/test/perftest/ort_test_session.cc +++ b/onnxruntime/test/perftest/ort_test_session.cc @@ -36,7 +36,7 @@ std::chrono::duration OnnxRuntimeTestSession::Run() { auto& input = test_inputs_.at(id); struct Timer { - std::chrono::steady_clock::time_point start_; + std::chrono::high_resolution_clock::time_point start_; static Timer Start() { return Timer{std::chrono::high_resolution_clock::now()};