nw::snd::SoundSystem::SOUND_THREAD_INTERVAL_USEC Member Constant

Syntax

#include <nw/snd/snd_SoundSystem.h>

static const int SOUND_THREAD_INTERVAL_USEC =  NN_SND_USECS_PER_FRAME;

Description

The interval for sound thread operations, measured in microseconds.

Apply the formula ( tick.ToTimeSpan().GetMicroSeconds() * 100 ) / ( count * SOUND_THREAD_INTERVAL_USEC ) to the count and tick value obtained by calling GetSoundThreadTickCount will tell you what percentage of the CPU time was taken up by all count sound thread operations.

See Also

GetSoundThreadTickCount

Revision History

2010/05/08
Initial version.

CONFIDENTIAL