Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ncar!boulder!sunybcs!bingvaxu!leah!itsgw!nyser!cmx!amax.npac.syr.edu!anand From: anand@amax.npac.syr.edu (Anand Rangachari) Newsgroups: comp.sys.encore Subject: using /bin/time Message-ID: <898@cmx.npac.syr.edu> Date: 12 Dec 88 15:16:38 GMT Sender: usenet@cmx.npac.syr.edu Reply-To: anand@amax.npac.syr.edu (Anand Rangachari) Organization: Northeast Parallel Architectures Center Lines: 21 While devloping and testing parallel programs on our Multimax, I face a problem occasionally when measuring the running time of a parallel program (ie one that forks a number of processes). In order to do a proper study of the running time it is of course necessary to perform the tests on an unloaded machine. In a computing center such as ours this is not always possible to find a time when there are no other processes running. To get around this, a friend suggested that I use /bin/time to measure the user time (My program is 99% user mode). The question then is: is it possible somehow to obtain the sum of the user times of each of the processes I create in my program? A suggestion to Encore: A useful feature would be to allow a suitably privileged program to lock a number of processors for itself. R. Anand Internet: anand@amax.npac.syr.edu Bitnet: ranand@sunrise