Commit: 49d2d8b47ec63e4d1e437ef84cdb5d45f571b547
Author: Jacques Lucke
Date:   Thu Jul 18 17:18:52 2019 +0200
Branches: functions
https://developer.blender.org/rB49d2d8b47ec63e4d1e437ef84cdb5d45f571b547

add timer

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

M       source/blender/simulations/bparticles/node_frontend.cpp

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

diff --git a/source/blender/simulations/bparticles/node_frontend.cpp 
b/source/blender/simulations/bparticles/node_frontend.cpp
index 74a46c6bc3c..aeb7c8cb2e9 100644
--- a/source/blender/simulations/bparticles/node_frontend.cpp
+++ b/source/blender/simulations/bparticles/node_frontend.cpp
@@ -1,3 +1,5 @@
+#include "BLI_timeit.hpp"
+
 #include "node_frontend.hpp"
 #include "inserters.hpp"
 #include "integrator.hpp"
@@ -29,6 +31,8 @@ std::unique_ptr<StepDescription> 
step_description_from_node_tree(IndexedNodeTree
                                                                  WorldState 
&world_state,
                                                                  float 
time_step)
 {
+  SCOPED_TIMER(__func__);
+
   StepDescriptionBuilder step_builder;
   StringMap<EulerIntegrator *> euler_integrators;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to