On Fri, 7 Apr 2017, andy pugh wrote:

Date: Fri, 7 Apr 2017 19:24:35 +0100
From: andy pugh <bodge...@gmail.com>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] for PCW?

On 7 April 2017 at 17:32, Peter C. Wallace <p...@mesanet.com> wrote:

You can use the tmax parameters for each function to see the worst
case times, and the corresponding time pins to get an idea of the average
times.


There is an easier way.

"halcmd show thread" will show how long each thread takes to run, and
what the longest time it has taken to run is.
It also show the functions in the thread, in running order.


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
?? George Fitch, Atlanta Constitution Newspaper, 1916


Yes, though this does not show the individual function maximum times
In my experience, you must add all the maximum times up to know your
actual timing headroom.

You also have to be a litte careful since the period in the show thread
command is in nanoseconds but the Time and Max-Time listed are in CPU clocks

(also motion.servo.last-period is in CPU clocks)


Peter Wallace
Mesa Electronics

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to