This project is read-only.

Quickstart Guide


Step 1: Add a PerformanceViewer to your games' Components collection.
Components.Add(new PerformanceViewer(this));

Step 2: Create a tracker
var updateTracker = new PerformanceTracker("Update");

Step 3: Wrap your code with the tracker
public void Update(GameTime gameTime)
{
    updateTracker.Start();
    UpdateGame(gameTime);
    updateTracker.Stop();
}

Last edited Feb 24, 2010 at 8:28 PM by Aphid, version 1

Comments

No comments yet.