Profiler odities
by Ian Omroth Hardingham · in Torque Game Engine · 05/13/2009 (4:29 am) · 0 replies
Hey guys.
Here is a selection of a profiler dump that I'm doing:
The AI segments are what I'm profiling, and I'm getting these weird results. Anyone know if I can get sense out of the Torque profiler with such a heavy function? Any tips of any kind?
Thanks guys,
Ian
Here is a selection of a profiler dump that I'm doing:
Profiler Data Dump: Ordered by non-sub total time - %NSTime % Time Invoke # Name -205.619 28.644 1 AIScoreSection 1.483 2.860 8742 convertUTF8toUTF16 38.035 42.235 2175046 MemoryRealloc 30.565 30.565 1993679 MemoryFree 77.178 88.297 28524 AIRGSSecondGetTimeToKill -42.491 36.757 1 AISolve 204.734 230.567 84 AIScoreSectionRunningSim 2.026 2.365 280 AITurnSpaceCreationTickSim 23.464 25.921 66 RenderLayers9 506.580 570.359 204004 AIRGSInitialGetTimeTiKill -288.705 400.002 14 AIMainTurnSpaceCreationLoop -56.532 50.522 5 AIGetReactionsTo 1.378 1.378 169930 oneUTF8toUTF32 1.312 1.312 66 RenderLayers8 0.869 0.869 16468 AIRGSObjectInExtendedViewCone 0.768 677.328 280 AIRateGridSubset 0.701 0.701 66 RenderLayers4 0.664 0.664 169930 NewFontGetCharInfo 0.582 0.923 1 GridInitialise 0.432 0.432 92468 AIRGSInitiating 0.394 0.394 66 RenderLayers3 0.382 0.382 66 SwapBuffers 0.326 1.667 66 RenderLayers5 0.237 0.237 14 AIInitialGreenCollecting 0.225 0.225 28524 AIRGSGetStanceTTA 0.211 0.211 28524 AIRGSGetStanceTTAAdd3and4 0.210 10.893 5148 DrawText_UTF8 0.260 0.260 66 t2dSceneContainer_findObjects -297.087 103.776 5 AICreateTurnSpaces 28.993 28.993 66 PlatformProcessMain -42.679 70.947 66 ProcessTimeEvent 0.358 0.469 66 ClientProcess
The AI segments are what I'm profiling, and I'm getting these weird results. Anyone know if I can get sense out of the Torque profiler with such a heavy function? Any tips of any kind?
Thanks guys,
Ian
About the author
Designer and lead programmer on Frozen Synapse, Frozen Endzone, and Determinance. Co-owner of Mode 7 Games.