Newsgroups: comp.parallel.pvm
From: wrankin@ee.duke.edu (William T. Rankin)
Subject: Re: Totaling up cpu time - faq
Organization: Duke University EE Dept.; Durham, NC
Date: 28 Nov 1994 20:59:58 GMT
Message-ID: <3bdgce$45t@news.duke.edu>

In article <GROOMS.94Nov28134152@f16.facts.uky.edu>, grooms@f16.facts.uky.edu (Jerry Grooms) writes:

|> I hope this is not a faq - maybe it should be?

you're probably right.


|> I just had a user ask how to get total aggregate cpu execution time
|> of a pvm job.  Is there an easy, straight-forward way to do this?

see the gettimeofday() call to measure elapse (wall clock) time.

see the times() man page for info on recording CPU times.

you will have to instrument each piece of code and have the code
send its timing results to a central server process to collect them.

|> Thanks in advance,
|> 
|> Jerry 

no prob, good luck.

-bill

-- 
----                                /       __/    /    /
bill rankin                        /              /    /
wrankin@ee.duke.edu               ___  /    /    /    /
philosopher/coffee-drinker       /    /    /    /    /
molecules-R-us                  /    /    /    /    /
                             _______/  __/  __/  __/

"A distributed system is one in which I cannot get something done
because a machine I've never heard of is down"   --Leslie Lamport
"All I wanna do is have a little fun before I die."  - Sheryl Crow

