Re: Setitimer() resolution?

2018-12-14 Thread Paul Swanson
Alex, Yes, I'm developing an audio application that'd greatly benefit from 1ms or greater precision. I'll look into both those options. Thanks, Paul S. Original Message On Dec 14, 2018, 20:02, Alexandre Ratchov wrote: > On Thu, Dec 13, 2018 at 09:27:12PM +, Paul Swanson

Re: Setitimer() resolution?

2018-12-14 Thread Alexandre Ratchov
On Thu, Dec 13, 2018 at 09:27:12PM +, Paul Swanson wrote: > Hi, > > I'm trying to understand how interval timers work in OpenBSD, > but I'm a little stuck on this line from the getitimer / setitimer man page: > > "Time values smaller than the resolution of the system clock > are rounded up to

Re: Setitimer() resolution?

2018-12-13 Thread Mike Larkin
On Thu, Dec 13, 2018 at 09:27:12PM +, Paul Swanson wrote: > Hi, > > I'm trying to understand how interval timers work in OpenBSD, > but I'm a little stuck on this line from the getitimer / setitimer man page: > > "Time values smaller than the resolution of the system clock > are rounded up to

Setitimer() resolution?

2018-12-13 Thread Paul Swanson
Hi, I'm trying to understand how interval timers work in OpenBSD, but I'm a little stuck on this line from the getitimer / setitimer man page: "Time values smaller than the resolution of the system clock are rounded up to this resolution (typically 10 milliseconds)." Does this mean that 10 milli