[Bf-blender-cvs] [3cbd4516c68] soc-2020-io-performance: Change export time resolution to milliseconds

Ankit Meel noreply at git.blender.org
Thu Jun 11 19:27:33 CEST 2020


Commit: 3cbd4516c68f89942742c175ba7cdc2ce951b2d7
Author: Ankit Meel
Date:   Thu Jun 11 22:56:30 2020 +0530
Branches: soc-2020-io-performance
https://developer.blender.org/rB3cbd4516c68f89942742c175ba7cdc2ce951b2d7

Change export time resolution to milliseconds

===================================================================

M	source/blender/io/wavefront_obj/intern/wavefront_obj.cc

===================================================================

diff --git a/source/blender/io/wavefront_obj/intern/wavefront_obj.cc b/source/blender/io/wavefront_obj/intern/wavefront_obj.cc
index c26bd020535..718d26a0366 100644
--- a/source/blender/io/wavefront_obj/intern/wavefront_obj.cc
+++ b/source/blender/io/wavefront_obj/intern/wavefront_obj.cc
@@ -37,7 +37,7 @@ void OBJ_export(bContext *C, const OBJExportParams *export_params)
   io::obj::exporter_main(C, export_params);
   std::chrono::steady_clock::time_point end = std::chrono::steady_clock::now();
   std::cout << "-------- \n Time difference = "
-            << std::chrono::duration_cast<std::chrono::microseconds>(end - begin).count() << "[us]"
+            << std::chrono::duration_cast<std::chrono::milliseconds>(end - begin).count() << "[ms]"
             << std::endl;
 }
 /**



More information about the Bf-blender-cvs mailing list