Path: utzoo!attcan!uunet!husc6!bu-cs!madd From: madd@bu-cs.BU.EDU (Jim Frost) Newsgroups: comp.unix.wizards Subject: SVVS user/system time tests Message-ID: <23274@bu-cs.BU.EDU> Date: 11 Jun 88 20:08:32 GMT References: <637@spectrix.UUCP> <11410001@eecs.nwu.edu> <3c8b1c7c.4bee@apollo.uucp> <55906@sun.uucp> Reply-To: madd@bu-it.bu.edu (Jim Frost) Followup-To: comp.unix.wizards Organization: Boston University Distributed Systems Group Lines: 18 In article <55906@sun.uucp> guy@gorodish.Sun.COM (Guy Harris) writes: |> In the file exec1.c, there are messages indicating that the child process |> did not inherit the system and user times of its parent. However, the test |> actually only checks to see that the times are NON-ZERO. This appears to |> have been the sticking point for Apollo since our system time was always 0. | |In this case, they should test whether the *sum* of user+system time is |non-zero. Even this strikes me as bogus. It should check to see if the times for the child are more than or equal to those of the parent. I see no reason why a sufficiently fast machine might not be able to execute the test in less time than one clock tick, making it fail the actual test and the one you propose. Of course, I can imagine cases where my idea is inaccurate as well, but you get the idea. jim frost madd@bu-it.bu.edu