We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d413f63 commit 33300b3Copy full SHA for 33300b3
src/CollisionAlgorithm/CollisionPipeline.h
@@ -66,11 +66,9 @@ class CollisionLoop : public core::objectmodel::BaseObject {
66
67
void processObject(simulation::Node*, core::objectmodel::BaseObject* obj) {
68
if (CollisionAlgorithm * component = dynamic_cast<CollisionAlgorithm *>(obj)) {
69
-// std::string timerName = std::string("-- Do detection : ") + obj->getName();
70
-
71
-// sofa::helper::AdvancedTimer::stepBegin(timerName.c_str());
+ sofa::helper::AdvancedTimer::stepBegin("doDetection - "+obj->getName());
72
component->doDetection();
73
-// sofa::helper::AdvancedTimer::stepEnd(timerName.c_str());
+ sofa::helper::AdvancedTimer::stepEnd("doDetection - "+obj->getName());
74
}
75
76
0 commit comments