From ab7b6dd4c93a5130815ae4071f022b884979d91f Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 1 Sep 2017 16:39:00 +0800 Subject: Update time cost report; Also fix a variable name error --- bin/fg21sim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/fg21sim') diff --git a/bin/fg21sim b/bin/fg21sim index 1f3e434..7a20074 100755 --- a/bin/fg21sim +++ b/bin/fg21sim @@ -69,8 +69,8 @@ def main(): t1_stop = time.perf_counter() t2_stop = time.process_time() - logger.info("Elapsed time: {0:.3f} (s)".format(t1_stop - t1_start)) - logger.info("CPU process time: {0:.3f} (s)".format(t2_stop - t2_start)) + logger.info("Elapsed time: %.1f [min]" % ((t1_stop-t1_start)/60)) + logger.info("CPU process time: %.1f [min]" % ((t2_stop-t2_start)/60)) if __name__ == "__main__": -- cgit v1.2.2