On Sun, Dec 13, 2009 at 12:06:10PM +1100, Frank Tkalcevic wrote:
> Is there any way to monitor the time spent processing in the servo loop?  If
> I have a servo thread running every 1ms, is there a way to monitor how long
> it takes to do its work?  I can see a few different time pins and parameters
> on different objects, does any of them do what I want?

The number you want is the "time" shown by 'halcmd show threads'.  It is
in CPU cycles.  Unfortunately, for technical reasons, you can't halscope
this value.

The next best thing is the sum of the .time of every function which is
in the thread you want to measure.  It is also in units of CPU cycles.

Jeff

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to