hi 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...) maybe the only way to measure the time of a messageprocess is to put 100 in a line (which hopefully takes longer than the DSP deadline), and then you could use a realtime-object to measure. but is it maybe useful for you to start each message process with a new DSP block, eg. to put a delay 0 object at the beginning of the message-line wich prevents an incoming event to intermit too late? marius.
----- Original Message ----- From: "Larry Troxler" lt@westnet.com To: pd-list@iem.kug.ac.at Sent: Sunday, December 02, 2001 2:24 AM Subject: [PD] Timing the message processing?
Is there a way (or could there be made a way) to time how long it takes for PD to do its message processing when an event arrives?
In my case, I'm interested in measuring how long my scheme externs take to run (which I fear is longer than is good), but of course, such a feature might be usefull for anyone who is running a complex message process in an extern and wants to know if they run a chance of missing the next DSP deadline.
Just to be clear, I'm not talking about DSP processing time, but strictly the message passing time (which is intermittent, but might take a long time when it happens).
Regards
Larry Troxler