there is a built-in objectclass [cputime]. actually i am not so sure how to use it. here it outputs only multiples of 10 ('10', '20', '30' etc).
but for your purpose, why do you need to measure the cpu load inside pd? you could probably also use 'top' or 'top -p<pid_of_pd>' to monitor cpu load.
roman
On Wed, 2007-11-14 at 14:17 -0800, B. Bogart wrote:
Hey all,
Anyhow have an abstraction laying around that gives the current CPU load? I'm trying to track down a freeze in my long term installation, and so far I have no indication of why it froze. Perhaps an ever increasing CPU load could give me a suspect...
Thanks, B. Bogart
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de