EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: epicsThreadSleep() and epicsThreadSleepQuantum()
From: Eric Norum <[email protected]>
To: Mark Rivers <[email protected]>
Cc: [email protected]
Date: Mon, 29 Sep 2008 15:26:46 -0500
Looks like Darwin has the same issues. Intervals down to 100 microseconds seem to be useable.

norume@gnarly 283> ./testTimer
epicsThreadSleepQuantum=0.010000
Elapsed time to sleep for 0.000100 seconds 1000 times=0.122238
Elapsed time to sleep for 0.000200 seconds 1000 times=0.220128
Elapsed time to sleep for 0.000500 seconds 1000 times=0.520916
Elapsed time to sleep for 0.001000 seconds 1000 times=1.021224
Elapsed time to sleep for 0.002000 seconds 1000 times=2.021927
Elapsed time to sleep for 0.005000 seconds 1000 times=5.024166
Elapsed time to sleep for 0.010000 seconds 1000 times=10.026175
Elapsed time to sleep for 0.020000 seconds 1000 times=20.026937



--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793



Replies:
Re: epicsThreadSleep() and epicsThreadSleepQuantum() J. Lewis Muir
Re: epicsThreadSleep() and epicsThreadSleepQuantum() David Dudley
References:
epicsThreadSleep() and epicsThreadSleepQuantum() Mark Rivers

Navigate by Date:
Prev: epicsThreadSleep() and epicsThreadSleepQuantum() Mark Rivers
Next: Re: epicsThreadSleep() and epicsThreadSleepQuantum() J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: epicsThreadSleep() and epicsThreadSleepQuantum() Mark Rivers
Next: Re: epicsThreadSleep() and epicsThreadSleepQuantum() J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·