Profiling and Debugging Your Game with PIX on Xbox 360
Profiling and Debugging Your Game with PIX on Xbox 360
Profiling and Debugging Your Game with PIX on Xbox 360
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Adding Event Names: Windows<br />
• Wrap code to be measured in <str<strong>on</strong>g>PIX</str<strong>on</strong>g>BeginNamedEvent<br />
<str<strong>on</strong>g>and</str<strong>on</strong>g> <str<strong>on</strong>g>PIX</str<strong>on</strong>g>EndNamedEvent.<br />
D3DPERF_BeginEvent( 0xFFFFFFFF, "Draw Hero" );<br />
...<br />
D3DPERF_EndEvent();<br />
• Requires instrumented versi<strong>on</strong> of D3D