hi,
Christian Klippel wrote: ...
a quick and simple way is to create a "time" object that gets the current time (sec and msec) via gettimeofday().
This is more or less what [realtime] does. There is also a [cputime], which measures Pd-process execution time plus system time used by Pd-process.
marius schebella wrote: ...
i once tried to figure out how much cpu load one single tilde-object is using. i put 100 (or 1000?) in a patch to be able to measure the value...)
Perhaps a more handy way is to use only one copy of an object to be tested, and use [metro] to measure how [realtime] and [timer] outputs drift apart ([timer] objects measure logical time, i.e. give a number of dsp ticks multiplied by a logical number of msecs in a dsp tick). Then the value to watch is properly scaled ratio (realtime-timer)/timer.
Krzysztof