timing the initialize method

Nov 19, 2011 at 11:09 AM
Hi,
What can I do if I want to measure how much time is spent
on the Initialize() method of XNA Game? I would like to record
the time and renders it as a text, and I want to do this in release
version to get an idea of how fast my initialization process is.
Thanks in advance!
Yajie.
Coordinator
Nov 20, 2011 at 2:21 AM
Use StopWatch to measure how much time is spent.
Nov 20, 2011 at 2:42 AM
Sorry I didn’t state clearly. I intend to do this in a
Windows Phone Game.
So, StopWatch doesn’t exist under that context.
Anything I can try?
Yajie.
From: [email removed]
Sent: Sunday, November 20, 2011 10:21 AM
To: [email removed]
Subject: Re: timing the initialize method [nine:280085]

From: yufeih

Use StopWatch to measure how much time is spent.