Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Misc questions about CLOCK_MONOTONIC_COARSE clockids ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sun Jul 21, 2013 1:23 pm    Post subject: Misc questions about CLOCK_MONOTONIC_COARSE clockids ? Reply with quote

Running the CFS,

Getting one thread calling clock_gettime(CLOCK_MONOTONIC_COARSE,tp) into a loop.

Can I rightly assume that the (n+1)th call will never return a time strictly inferior to the (n)th call ?

Never meaning strictly never, that is to say irrespective of (full)dynticks settings, irrespective of %idle, and, particularly, even if the thread runs the (n+1)th occurrence on a different CPU than the one used for running the (n)th occurrence.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum