StressAlgorithm
JavaScript is disabled on your browser.
br.usp.ime.dspbenchmarking.algorithms
Class StressAlgorithm
- java.lang.Object
-
- br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
-
- br.usp.ime.dspbenchmarking.algorithms.StressAlgorithm
-
- Direct Known Subclasses:
- AdditiveSynthesisLookupTable, AdditiveSynthesisSine, Convolution
public abstract class StressAlgorithm extends DspAlgorithm
A stress algorithm is an algorithm that may change it's computational cost so during a test it this cost can either be incremented or decremented to determine if a given algorithm is feasible in a specific device.
-
-
Field Summary
Fields Modifier and Type Field and Description protected int
stressParameter
This parameter should be used by stress algorithms to control the size or computational intensity of their work.-
Fields inherited from class br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
blockSize, parameter1, sampleRate
-
-
Constructor Summary
Constructors Constructor and Description StressAlgorithm(int sRate, int bSize)
The constructor just saves the sample rate and block size.
-
Method Summary
Methods Modifier and Type Method and Description void
setStressParameter(int stressParam)
Set the stress parameter.-
Methods inherited from class br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
getAlgorithmName, getBlockSize, getParameter1, getSampleRate, perform, setBlockSize, setParams
-
-
-
-
Field Detail
-
stressParameter
protected int stressParameter
This parameter should be used by stress algorithms to control the size or computational intensity of their work.
-
-