Class: FMOD::System::CpuUsage

Inherits:
Struct
  • Object
show all
Defined in:
lib/fmod/system.rb

Overview

Contains values for describing the current CPU time used by FMOD.

Instance Attribute Summary collapse

Instance Attribute Details

#dspFloat

The current DSP mixing engine CPU usage. Result will be from 0.0 to 100.0.

Returns:

  • (Float)

    the current value of dsp



24
25
26
# File 'lib/fmod/system.rb', line 24

def dsp
  @dsp
end

#geometryFloat

The current geometry engine CPU usage. Result will be from 0.0 to 100.0.

Returns:

  • (Float)

    the current value of geometry



24
25
26
# File 'lib/fmod/system.rb', line 24

def geometry
  @geometry
end

#streamFloat

The current streaming engine CPU usage. Result will be from 0.0 to 100.0.

Returns:

  • (Float)

    the current value of stream



24
25
26
# File 'lib/fmod/system.rb', line 24

def stream
  @stream
end

#totalFloat

The current total CPU usage. Result will be from 0 to 100.0.

Returns:

  • (Float)

    the current value of total



24
25
26
# File 'lib/fmod/system.rb', line 24

def total
  @total
end

#updateFloat

The current System::update CPU usage. Result will be from 0.0 to 100.0.

Returns:

  • (Float)

    the current value of update



24
25
26
# File 'lib/fmod/system.rb', line 24

def update
  @update
end