1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <title>SOUND_THREAD_INTERVAL_USEC</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/snd/Overview.html">snd</a>::<a href="../../../nw/snd/SoundSystem/Overview.html">SoundSystem</a>::SOUND_THREAD_INTERVAL_USEC</CODE> Member Constant</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nw/snd/snd_SoundSystem.h> 14static const int SOUND_THREAD_INTERVAL_USEC = NN_SND_USECS_PER_FRAME;</pre> 15 </div> 16 <h2>Description</h2> 17 <div class="section"> 18 <p>The interval for sound thread operations, measured in microseconds.</p><p>Apply the formula <CODE>( tick.ToTimeSpan().GetMicroSeconds() * 100 ) / ( count * SOUND_THREAD_INTERVAL_USEC )</CODE> to the count and tick value obtained by calling <a href="../../../nw/snd/SoundSystem/GetSoundThreadTickCount.html"><CODE>GetSoundThreadTickCount</CODE></a> will tell you what percentage of the CPU time was taken up by all <CODE>count</CODE> sound thread operations.</p></div> 19 <h2>See Also</h2> 20 <div class="section"> 21 <p class="reference"><a href="../../../nw/snd/SoundSystem/GetSoundThreadTickCount.html"><CODE>GetSoundThreadTickCount</CODE></a><br /> </p> 22 </div> 23 <h2>Revision History</h2> 24 <div class="section"> 25 <dl class="history"> 26 <dt>2010/05/08</dt> 27 <dd>Initial version.<br /> 28 </dd> 29 </dl> 30 </div> 31 <hr><p>CONFIDENTIAL</p></body> 32</html> 33