Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Finding the run time of a Fork process

by BrowserUk (Pope)
on Jan 07, 2016 at 18:37 UTC ( #1152230=note: print w/replies, xml ) Need Help??


in reply to Finding the run time of a Fork process

Swap the order of the two statements to be as below:

my $pid = $pm->start and next; my $start = time();

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
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". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Finding the run time of a Fork process
by edimusrex (Monk) on Jan 07, 2016 at 18:49 UTC
    even when I do that it seems to just append the time.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1152230]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-10-25 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?