Skip to content

Commit 4e34524

Browse files
committed
Add profile event
1 parent dfd3bcd commit 4e34524

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/Engine/Level/Actor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ Array<Actor*> Actor::GetChildren(const MClass* type) const
439439

440440
void Actor::DestroyChildren(float timeLeft)
441441
{
442+
PROFILE_CPU();
442443
Array<Actor*> children = Children;
443444
const bool useGameTime = timeLeft > ZeroTolerance;
444445
for (Actor* child : children)

0 commit comments

Comments
 (0)