Re: arm64: clock_gettime(CLOCK_MONOTONIC) not monotonic

2018-05-22 Thread Artturi Alm
On Tue, May 22, 2018 at 02:13:46AM +0300, Artturi Alm wrote: > On Sun, May 20, 2018 at 07:03:55PM +0200, Sebastien Marie wrote: > > On Sat, May 19, 2018 at 08:30:12AM +0200, Sebastien Marie wrote: > > > Hi, > > > > > > Working on lang/rust on arm64, I experiment rustc panic due to not > > >

Re: arm64: clock_gettime(CLOCK_MONOTONIC) not monotonic

2018-05-20 Thread Sebastien Marie
On Sat, May 19, 2018 at 08:30:12AM +0200, Sebastien Marie wrote: > Hi, > > Working on lang/rust on arm64, I experiment rustc panic due to not > monotonic timestamp. I tried to reproduce the problem in plain C. > > My test program is just a loop of calling > clock_gettime(CLOCK_MONOTONIC), and it

arm64: clock_gettime(CLOCK_MONOTONIC) not monotonic

2018-05-19 Thread Sebastien Marie
Hi, Working on lang/rust on arm64, I experiment rustc panic due to not monotonic timestamp. I tried to reproduce the problem in plain C. My test program is just a loop of calling clock_gettime(CLOCK_MONOTONIC), and it checks if the result is monotonic (by comparing with previous value). On