The Ex API have a system function getCPUusage() for the 4 main parts of the engine : System / Stream / Update & DSP … and working fine 😀
Is there a possibility to have CPU usage of specifics DSP ? Not all the network like the actual function. For example, a getCPUusage() on the DSP:: object ?
- maxprod asked 10 years ago
If it is a DSP you wrote you could try timing it with something like QueryPerformanceCounter, just be aware that the overhead of the timing will offset your results some. You should be able to wrap the DSP processing with the timing code and just add the value to an accumulator that you periodically check, then do a simple elapsed time calculation to see how much of the elapsed time was spent in the DSP.
- Janus answered 10 years ago
Please login first to submit.