Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • sleep 1/70 not allowed on my machine ... Commented Oct 12, 2012 at 21:07
  • not even near to what i want to achieve, how i can execute things faster ? Commented Oct 12, 2012 at 21:19
  • Sorry, by fractional, I didn't mean expressed as n/m where n and m are integers, but as decimals with a fractional part. I suppose you could also call them decimal floating point numbers though I'm not sure about the proper English terminology Commented Oct 12, 2012 at 21:20
  • i think that i'm going to avoid the of the shell ... Commented Oct 12, 2012 at 21:27
  • The answerer is right. Shells and processes are usually not well suited to millisecond resolution. For reliable performance, you'll need to compile a program that calls usleep(3) or the like -- and you may need to recompile your kernel with a different configuration, as well; or at least feed different parameters to your kernel's runtime scheduler. This is nontrivial to do. A standard Debian installation with a standard kernel has limited realtime capabilities. Still, you might want to check out the nice(1) command; it might help. Commented Sep 12, 2016 at 0:43