Path: utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!david From: david@torsqnt.UUCP (David Haynes) Newsgroups: comp.sys.sequent Subject: Re: timing parallel programs Message-ID: <978@torsqnt.UUCP> Date: 16 Feb 90 02:25:37 GMT References: <1324@csisles.Bristol.AC.UK> <1803@baird.cs.strath.ac.uk> <11171@encore.Encore.COM> Organization: Sequent Computers (Canada) Ltd., Toronto, CANADA Lines: 23 peralta@pinocchio.Encore.COM (Rick Peralta) writes: >In article luis@octopus.tds.kth.se (Luis Barriga) writes: >> >>2) I have read about a system call "getrusage" that gives info about >>resource utilization: system, user time consumed, and other stuff. Is >>there any problem using it? >It should be fine, just as long as you peek at it at the beginning and >end of your timing runs. Otherwise you will get a little startup cost >into the overall measurements. BTW: you'll need to sync the starts. There was some work done at the University of Western Ontario utilizing a program called "gun" which provided synchronized starts. The basic strategy, as it was explained to me, involved having the processes watch a memory location to see a change of state. -david- -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- David Haynes Sequent Computer Systems (Canada) Ltd. "...and this is true, which is unusual for marketing." -- RG May 1989 ...!{utgpu, yunexus, utai}!torsqnt!david -or- david@torsqnt.UUCP