home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- Path: sparky!uunet!stanford.edu!agate!doc.ic.ac.uk!citycs!lionel
- From: lionel@cs.city.ac.uk (Lionel Tun)
- Subject: What does `time' measure?
- Message-ID: <1992Nov6.164501.17590@city.cs>
- Sender: news@city.cs (News)
- Organization: City University, London
- Date: Fri, 6 Nov 92 16:45:01 GMT
- Lines: 28
-
- Could a guru please tell me what /usr/bin/time is telling me?
-
- I have simple real math benchmark which just does + - * /
- many times.
-
- On a Sun 4/110 I get:
- 2635.1 real 10.6 user 2427.9 sys
-
- On a SparcStation IPC I get:
- 7.1 real 6.3 user 0.1 sys
-
- Question is why are the user times within the same order
- of magnitude on the two machines, yet sys time is next
- to nothing on the IPC and 40 mins on a 4/110?
-
- I have a theory that the 4/110 does not have a floating
- point unit, so all real math is simulated in software.
- So the user time is not clocked up while the program
- waits for the system to come back with the floating
- point calculation.
-
- For a correct figure for the machine do I need to add
- the sys and user times, ie 6.4 v 2438.5?
-
-
- --
- Lionel Tun (lionel@cs.city.ac.uk)
- Vision Group, City University, London, EC1V 0HB. 071-477 8000 x 3889
-