Subsecond sleep

Matthew Knepley knepley at gmail.com
Fri Oct 16 05:30:50 CDT 2009


No.

  Matt

On Fri, Oct 16, 2009 at 5:02 AM, Jed Brown <jed at 59a2.org> wrote:

> I sometimes want to slow down animation with a small problem size and
> -draw_pause is generally does what I want, but it can only take integer
> arguments and pausing for a whole second every time is often too much.
> There are subsecond sleep functions (like usleep and nanosleep) in
> POSIX, and I've rolled my own micro-sleep command-line option more than
> once now.  Is there a compelling reason not to make -draw_pause and
> PetscSleep take a real value, thus offering higher resolution when it is
> available?
>
> Jed
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20091016/5a7b6488/attachment.html>


More information about the petsc-dev mailing list