From 5fc54d272967c265c9ff7a32f0cb83933165301e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9D=B4=ED=95=9C=EC=A2=85/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84?= =?utf8?q?=EC=9E=90?= Date: Wed, 9 May 2018 14:58:16 +0900 Subject: [PATCH] [tflite_run] Reorder print message (#1136) Elapsed time message comes earlier than dump message. Signed-off-by: Hanjoung Lee --- tools/tflite_run/src/tflite_run.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/tflite_run/src/tflite_run.cc b/tools/tflite_run/src/tflite_run.cc index 77fb365..2743e47 100644 --- a/tools/tflite_run/src/tflite_run.cc +++ b/tools/tflite_run/src/tflite_run.cc @@ -185,6 +185,9 @@ int main(const int argc, char **argv) } std::cout << "]" << std::endl; + std::cout << "Prepare takes " << t_prepare.count() << " seconds" << std::endl; + std::cout << "Invoke takes " << t_invoke.count() << " seconds" << std::endl; + if (!args.getDumpFilename().empty()) { const std::string &dump_filename = args.getDumpFilename(); @@ -194,9 +197,6 @@ int main(const int argc, char **argv) << std::endl; } - std::cout << "Prepare takes " << t_prepare.count() << " seconds" << std::endl; - std::cout << "Invoke takes " << t_invoke.count() << " seconds" << std::endl; - if (!args.getCompareFilename().empty()) { const std::string &compare_filename = args.getCompareFilename(); -- 2.7.4