anand@amax.npac.syr.edu (Anand Rangachari) (12/12/88)
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