Skip to content

Commit 3f98638

Browse files
committed
[timer] Add the name of the AABBBroadPhase component during profiling
1 parent 6a25270 commit 3f98638

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CollisionAlgorithm/BaseAABBBroadPhase.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class BaseAABBBroadPhase : public BaseGeometry::BroadPhase {
6161
}
6262

6363
inline void doUpdate() {
64-
sofa::helper::AdvancedTimer::stepBegin("========================= AABBBroadPhase do update =========================");
64+
sofa::helper::AdvancedTimer::stepBegin("AABBBroadPhase::doUpdate - "+this->getName());
6565
m_Bmin = l_geometry->getPosition(0);
6666
m_Bmax = m_Bmin;
6767

@@ -116,7 +116,7 @@ class BaseAABBBroadPhase : public BaseGeometry::BroadPhase {
116116
updateElemInBoxes();
117117

118118
// sofa::helper::AdvancedTimer::stepEnd("========================= Elements rangés dans boites in AABB doUpdate =========================");
119-
sofa::helper::AdvancedTimer::stepEnd("========================= AABBBroadPhase do update =========================");
119+
sofa::helper::AdvancedTimer::stepEnd("AABBBroadPhase::doUpdate - "+this->getName());
120120
}
121121

122122

0 commit comments

Comments
 (0)