We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 143f1c0 commit bc5101cCopy full SHA for bc5101c
1 file changed
src/sofa/collisionAlgorithm/CollisionPipeline.h
@@ -66,11 +66,11 @@ 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();
+ std::string timerName = std::string("-- Do detection : ") + obj->getName();
70
71
-// sofa::helper::AdvancedTimer::stepBegin(timerName.c_str());
+ sofa::helper::AdvancedTimer::stepBegin(timerName.c_str());
72
component->doDetection();
73
-// sofa::helper::AdvancedTimer::stepEnd(timerName.c_str());
+ sofa::helper::AdvancedTimer::stepEnd(timerName.c_str());
74
}
75
76
0 commit comments