Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eru!luth!sunic!draken!luis From: luis@octopus.tds.kth.se (Luis Barriga) Newsgroups: comp.sys.sequent Subject: Re: timing parallel programs Message-ID: Date: 15 Feb 90 09:44:38 GMT References: <1324@csisles.Bristol.AC.UK> <1803@baird.cs.strath.ac.uk> Sender: news@nada.kth.se Organization: The Royal Inst. of Technology (KTH), Stockholm, SWEDEN. Lines: 21 In-reply-to: jim@cs.strath.ac.uk's message of 12 Feb 90 15:28:54 GMT >We want to get accurate timings of the run-times of Prolog programs when we >use 1, 2, ... 11 processors in order to accurately measure the speed-ups. I may thinks of two ways more of solving this problem. 1) You can use the "at" facility to schedule a job at any tile of any day, while hopefully nobody is logged into your sequent (maybe Friday or Saturday night). This works if your application does not take days to finish and there is no interaction with the user. If the input is the same you can prepare it in a file and redirect it from standart input. 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? -- ________________________________________________________________________| Luis Barriga The Royal Institute of Technology | Dep. Computer systems (TDS) | e-address: luis@tds.kth.se S-100 44 Stockholm | SWEDEN | ________________________________________________________________________|