@@ -66,7 +66,7 @@ class BaseAABBBroadPhase : public BaseGeometry::BroadPhase {
6666 m_Bmax = m_Bmin;
6767
6868 // updates bounding box area
69- // sofa::helper::AdvancedTimer::stepBegin("========================= BBox area update in AABBBroadPhase do update =========================" );
69+ sofa::helper::AdvancedTimer::stepBegin (" AABBBroadPhase BBox area update - " + this -> getName () );
7070 for (unsigned j=1 ;j<l_geometry->getSize ();j++) {
7171 type::Vec3 pos = l_geometry->getPosition (j);
7272
@@ -78,7 +78,7 @@ class BaseAABBBroadPhase : public BaseGeometry::BroadPhase {
7878 }
7979
8080 }
81- // sofa::helper::AdvancedTimer::stepEnd("========================= BBox area update in AABBBroadPhase do update =========================" );
81+ sofa::helper::AdvancedTimer::stepEnd (" AABBBroadPhase BBox area update - " + this -> getName () );
8282
8383 // fixes cell size
8484 for (int i = 0 ; i < 3 ; i++) {
@@ -98,9 +98,9 @@ class BaseAABBBroadPhase : public BaseGeometry::BroadPhase {
9898 }
9999 }
100100
101- // sofa::helper::AdvancedTimer::stepBegin("========================= CLEAR MAP =========================" );
101+ sofa::helper::AdvancedTimer::stepBegin (" AABBBroadPhase clear map - " + this -> getName () );
102102 newContainer ();
103- // sofa::helper::AdvancedTimer::stepEnd("========================= CLEAR MAP =========================" );
103+ sofa::helper::AdvancedTimer::stepEnd (" AABBBroadPhase clear map - " + this -> getName () );
104104
105105 // center in -0.5 cellwidth
106106 m_Bmin -= m_cellSize * 0.5 ;
@@ -112,10 +112,10 @@ class BaseAABBBroadPhase : public BaseGeometry::BroadPhase {
112112 return ;
113113 }
114114
115- // sofa::helper::AdvancedTimer::stepBegin("========================= Elements rangés dans boites in AABB doUpdate =========================" );
115+ sofa::helper::AdvancedTimer::stepBegin (" AABBBroadPhase updateElemInBoxes - " + this -> getName () );
116116 updateElemInBoxes ();
117+ sofa::helper::AdvancedTimer::stepEnd (" AABBBroadPhase updateElemInBoxes - " + this ->getName ());
117118
118- // sofa::helper::AdvancedTimer::stepEnd("========================= Elements rangés dans boites in AABB doUpdate =========================");
119119 sofa::helper::AdvancedTimer::stepEnd (" AABBBroadPhase::doUpdate - " +this ->getName ());
120120 }
121121
0 commit comments