On Wed, 13 Jul 2011 09:29:51 -0400, Charles Mills <charl...@mcn.org> wrote:
>> if you look at system control blocks (such as TCBTTIME) you will not pick >up the time since the last dispatch. > >Which may or may not be satisfactory. > >If you are computing pi to a million digits on an otherwise idle machine and >would like to know how much CPU time each pass through the main loop >consumes, then TCBTIME is totally unsatisfactory. > >OTOH if you have a more normal sort of some IO/some computing/some system >services type of program and would just like to know roughly how much CPU >time you have consumed up to this point, then TCBTIME should be totally >satisfactory. But if you have that kind of program, and a rough answer would suffice, do you really need to figure out the most efficient way of getting it? (Conversely, if you do want the most efficient way, doesn't that (perhaps) imply that you don't have that kind of program?) -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html