pub struct CpuUsage {
pub dsp: c_float,
pub stream: c_float,
pub geometry: c_float,
pub update: c_float,
pub convolution_1: c_float,
pub convolution_2: c_float,
}
Expand description
Performance information for Core API functionality.
Fields§
§dsp: c_float
DSP mixing engine CPU usage.
Percentage of FMOD_THREAD_TYPE_MIXER
, or main thread if FMOD_INIT_MIX_FROM_UPDATE
flag is used with SystemBuilder::build
.
stream: c_float
Streaming engine CPU usage.
Percentage of FMOD_THREAD_TYPE_STREAM
, or main thread if FMOD_INIT_STREAM_FROM_UPDATE
flag is used with SystemBuilder::build
.
geometry: c_float
Geometry engine CPU usage.
Percentage of FMOD_THREAD_TYPE_GEOMETRY
.
update: c_float
System::update
CPU usage. Percentage of main thread.
convolution_1: c_float
Convolution reverb processing thread #1 CPU usage.
Percentage of FMOD_THREAD_TYPE_CONVOLUTION1
.
convolution_2: c_float
Convolution reverb processing thread #2 CPU usage.
Percentage of FMOD_THREAD_TYPE_CONVOLUTION2
.
Trait Implementations§
Source§impl From<CpuUsage> for FMOD_CPU_USAGE
impl From<CpuUsage> for FMOD_CPU_USAGE
Source§impl From<FMOD_CPU_USAGE> for CpuUsage
impl From<FMOD_CPU_USAGE> for CpuUsage
Source§fn from(value: FMOD_CPU_USAGE) -> Self
fn from(value: FMOD_CPU_USAGE) -> Self
Converts to this type from the input type.
Source§impl PartialOrd for CpuUsage
impl PartialOrd for CpuUsage
impl Copy for CpuUsage
impl StructuralPartialEq for CpuUsage
Auto Trait Implementations§
impl Freeze for CpuUsage
impl RefUnwindSafe for CpuUsage
impl Send for CpuUsage
impl Sync for CpuUsage
impl Unpin for CpuUsage
impl UnwindSafe for CpuUsage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more