Firelight Technologies FMOD Studio API
FMOD_STUDIO_CPU_USAGE
Performance information for FMOD Studio and low level systems.
C/C++ Syntax
typedef struct {
float dspusage;
float streamusage;
float geometryusage;
float updateusage;
float studiousage;
} FMOD_STUDIO_CPU_USAGE;
JavaScript Syntax
struct FMOD_STUDIO_CPU_USAGE
{
dspusage,
streamusage,
geometryusage,
updateusage,
studiousage,
};
Members
dspusage
Returns the % CPU time taken by DSP processing on the low level mixer thread.
streamusage
Returns the % CPU time taken by stream processing on the low level stream thread.
geometryusage
Returns the % CPU time taken by geometry processing on the low level geometry thread.
updateusage
Returns the % CPU time taken by low level update, called as part of the studio update.
studiousage
Returns the % CPU time taken by studio update, called from the studio thread. Does not include low level update time.
Remarks
JavaScript only :
Not all fields are currently supported or may not work as expected at this time. To initialize an new instance in javascript use "FMOD.STUDIO_CPU_USAGE()", no 'new' keyword is required.
See Also
Version 1.10.03 Built on Feb 1, 2018