Le duodi 12 germinal, an CCXXI, René J.V. Bertin a écrit :
> I presume MS Windows still doesn't provide timers with <1ms resolution, be
> it event-based or something like usleep/nanosleep? I haven't seen your
> original post, but I've already struggled myself to get reliable 1kHz
> realtime behaviour without external hardware. I ended up with a busy-wait
> loop, (hogging the CPU was acceptable in my case).

Basic sanity check: I hope everyone here realizes that on a non-real time
OS, even a timer with that kind of nominal precision can end up waiting a
few dozens milliseconds because the screen saver activated or a page was
needed from the swap? Modern hardware, with multicore CPUs and loads of
memory, make this less severe a problem, but you still get no guarantee at
all.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to