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
<2020>
2021
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
<2020>
2021
2022
2023
2024
|