From 128b8271113bd46df3544d5c74d2f38ac3802d15 Mon Sep 17 00:00:00 2001 From: Yufeng Li Date: Mon, 10 Dec 2018 15:18:26 -0800 Subject: [PATCH] Update performance_runner.cc --- onnxruntime/test/perftest/performance_runner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/test/perftest/performance_runner.cc b/onnxruntime/test/perftest/performance_runner.cc index 5c467e65fc66e..0c6567b40604f 100644 --- a/onnxruntime/test/perftest/performance_runner.cc +++ b/onnxruntime/test/perftest/performance_runner.cc @@ -47,7 +47,7 @@ Status PerformanceRunner::Run() { std::cout << "Total time cost:" << performance_result_.total_time_cost << std::endl << "Total iterations:" << performance_result_.time_costs.size() << std::endl - << "Average time cost:" << performance_result_.total_time_cost / performance_result_.time_costs.size() << std::endl; + << "Average time cost:" << performance_result_.total_time_cost / performance_result_.time_costs.size() * 1000 << " ms" << std::endl; return Status::OK(); }