EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Jenkins test failures on macOS
From: Michael Davidsaver via Core-talk <core-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS core-talk <core-talk at aps.anl.gov>
Date: Tue, 4 Aug 2020 09:14:22 -0700
On 8/4/20 9:09 AM, Johnson, Andrew N. wrote:
> On Aug 3, 2020, at 9:37 PM, Michael Davidsaver <mdavidsaver at gmail.com <mailto:mdavidsaver at gmail.com>> wrote:
>>
>> On 8/3/20 6:07 PM, Johnson, Andrew N. wrote:
>>> No. I get non-zero milli- and microseconds in my time stamps now, but (counting after the decimal point) digits 7 through 9 of a %.9f seconds value are always zero.
>>
>> Ok, then this seems likely to be no worse that Windows.
>> Out of curiosity, have you checked (eg. with epicsTimerTest)
>> to see what the minimum delta actually is?
> 
> In the Github issue yesterday I explained that on my laptop reading the time using the Mach clock_get_time() API takes about 1.6 microseconds and gives nanosecond precision, whereas using clock_gettime() takes only about 58 nanoseconds but gives microsecond precision (as averaged over 100000 readings by epicsTimeTest). Which is better?

I was referring to the smallest non-zero delta in the time
values returned by consecutive calls.  aka. is it really
microsecond precision?

Replies:
Re: Jenkins test failures on macOS Johnson, Andrew N. via Core-talk
References:
Jenkins build became unstable: epics-7.0 » mac #245 APS Jenkins via Core-talk
Jenkins test failures on macOS Johnson, Andrew N. via Core-talk
Re: Jenkins test failures on macOS Michael Davidsaver via Core-talk
Re: Jenkins test failures on macOS Johnson, Andrew N. via Core-talk
Re: Jenkins test failures on macOS Michael Davidsaver via Core-talk
Re: Jenkins test failures on macOS Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Re: Jenkins test failures on macOS Johnson, Andrew N. via Core-talk
Next: Build failed in Jenkins: EPICS-3.14 #750 Jenkins EPICS PSI via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Jenkins test failures on macOS Johnson, Andrew N. via Core-talk
Next: Re: Jenkins test failures on macOS Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 04 Aug 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·