Re: multiprocessing and process run time

2009-06-19 Thread Piet van Oostrum
> Thomas Robitaille (TR) wrote: >TR> Hi, >TR> I'm making use of the multiprocessing module, and I was wondering if there >TR> is an easy way to find out how long a given process has been running for. >TR> For example, if I do >TR> import multiprocessing as mp >TR> import time >TR> def time

Re: multiprocessing and process run time

2009-06-19 Thread OdarR
On 19 juin, 16:40, Thomas Robitaille wrote: > Hi, > > I'm making use of the multiprocessing module, and I was wondering if there > is an easy way to find out how long a given process has been running for. > For example, if I do > > import multiprocessing as mp > import time > > def time_waster():

Re: multiprocessing and process run time

2009-06-19 Thread Mike Kazantsev
On Fri, 19 Jun 2009 07:40:11 -0700 (PDT) Thomas Robitaille wrote: > I'm making use of the multiprocessing module, and I was wondering if there > is an easy way to find out how long a given process has been running for. > For example, if I do > > import multiprocessing as mp > import time > > de