DOC PREVIEW
GT ECE 4893 - Lecture 22: Xbox 360 Debugging & Monitoring
School name Georgia Tech
Pages 23

This preview shows page 1-2-22-23 out of 23 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Lecture 22: Xbox 360 Debugging & Monitoring Prof. Aaron Lanterman School of Electrical and Computer Engineering Georgia Institute of TechnologyAssembly InformationSetting a breakpoint Or use System.Diagnostics.Debugger.Break();Snapshot after each “continue” 5Peek at variables on the Xbox 360Remote Performance Monitor • Basic garbage collector information • Can tell if you have a GC problem • Not usually enough to diagnose the cause • Shows the number of system calls • Not much help with computational bottlenecksLaunching from the Performance Monitor“Lies, damn lies, and statistics” • See Shawn Hargreaves, “Understanding XNA Framework Performance” PowerPoint presentation for tips on interpreting numbers – Garbage collection issues – Kernal/User mode switchesPublish to PerfMonFinding PerfMonPerfMonAdding a counterPerfMoning SpacewarPerfMon PropertiesSetting scalesGC HeapProfiling on Windows • Inference to the rescue! – The XNA Framework is similar on both platforms – Measure your game on Windows – Results usually also apply to Xbox 360 • There are many great Windows perf tools – The CLR Profiler for garbage collection issues – Sampling profilers: Visual Studio Team System, ANTS, NProf, Optimizeit, VTune – PIX Slide from Shawn Hargreaves, “Understanding XNA Framework Performance”CLR Profiler on Windows Slide from Shawn Hargreaves, “Understanding XNA Framework Performance”Re-entering the Framework 23 • GraphicsDevice is somewhat thread-safe – Cannot render from more than one thread at a time – Can create resources and SetData while another thread renders • ContentManager is not thread-safe – Ok to have multiple instances, but only one per thread • Input is not threadable – Windows games must read input on the main game thread • Audio and networking are thread-safe Slide from Shawn Hargreaves, “Understanding XNA Framework


View Full Document

GT ECE 4893 - Lecture 22: Xbox 360 Debugging & Monitoring

Documents in this Course
Load more
Download Lecture 22: Xbox 360 Debugging & Monitoring
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture 22: Xbox 360 Debugging & Monitoring and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture 22: Xbox 360 Debugging & Monitoring 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?