Firelight Technologies FMOD Studio API
Studio::System::getCPUUsage
Retrieves performance information for FMOD Studio and low level systems.
C++ Syntax
FMOD_RESULT Studio::System::getCPUUsage(
FMOD_STUDIO_CPU_USAGE *usage
);
C Syntax
FMOD_RESULT FMOD_Studio_System_GetCPUUsage(
FMOD_STUDIO_SYSTEM *system,
FMOD_STUDIO_CPU_USAGE *usage
);
C# Syntax
RESULT Studio.System.getCPUUsage(
out CPU_USAGE usage
);
JavaScript Syntax
System.getCPUUsage(
usage // writes value to usage.val
);
Parameters
- usage
- Address of a variable to receive the performance information.
Return Values
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
See Also
Version 1.10.03 Built on Feb 1, 2018