Profiling

You can profile your simulation using the AtomsCrowd stats. Enable the stats using the command “stat AtomsCrowd“

 

The stats will show you these data:

  • AgentGroup Tick: time spent by the agent group tick method.

  • AgentGroup compute pose: time spent to compute the pose of the agents.

  • AgentGroup Behaviour Tree: time spent by the behaviour tree component.

  • AgentGroup Extract Pose: time spent to extract the agent’s pose and translate into unreal skeletal mesh poses, LOD and culling computation and agent root motion data.
    If you the agent group using the state machine XPU or the clip reader XPU then this is the time spent for LOD, culling and root motion data only. This is on call for each agent type component per tick.

  • AgentGroup pre-frame: time spent by the pre-frame event.

  • AgentGroup init frame: time spent by the init frame event.

  • AgentGroup end frame: time spent by the end frame event.

  • AgentGroup pre physics: time spent by the pre physics event.

  • AgentGroup post physics: time spent by the post physics event.

For more in-depth analysis, you can use the Unreal Insight tool. All the behaviour component methods are supported by Unreal Insight.

 

Copyright © 2017, Toolchefs LTD.