From 8510ccdfe7d62ff0a3a9edf51d683c3b490538cc Mon Sep 17 00:00:00 2001 From: Yufeng Li Date: Mon, 10 Dec 2018 17:33:20 -0800 Subject: [PATCH] Update performance_runner.cc (#142) --- 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 5c467e65fc..0c6567b406 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(); }