in reply to Timers for commands

perldoc -f times

Replies are listed 'Best First'.
Re^2: Timers for commands
by BrowserUk (Patriarch) on Oct 23, 2008 at 20:56 UTC

    Contrary to the docs, times doesn't reflect the cpu used by child processes under win32:

    print times; system q[perl -e"$x = log( atan2(4,1)**($_**3)) for 1 .. 1e6"]; print times;; 0.062 0.062 0 0 0.062 0.062 0 0

    It could be made to, but it doesn't now.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Thank You. I am trying with it.