home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sun / misc / 5128 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.2 KB  |  39 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!stanford.edu!agate!doc.ic.ac.uk!citycs!lionel
  3. From: lionel@cs.city.ac.uk (Lionel Tun)
  4. Subject: What does `time' measure?
  5. Message-ID: <1992Nov6.164501.17590@city.cs>
  6. Sender: news@city.cs (News)
  7. Organization: City University, London
  8. Date: Fri, 6 Nov 92 16:45:01 GMT
  9. Lines: 28
  10.  
  11. Could a guru please tell me what /usr/bin/time is telling me?
  12.  
  13. I have simple real math benchmark which just does + - * / 
  14. many times.
  15.  
  16. On a Sun 4/110 I get:
  17. 2635.1 real        10.6 user      2427.9 sys
  18.  
  19. On a SparcStation IPC I get:
  20. 7.1 real         6.3 user         0.1 sys
  21.  
  22. Question is why are the user times within the same order
  23. of magnitude on the two machines, yet sys time is next
  24. to nothing on the IPC and 40 mins on a 4/110?
  25.  
  26. I have a theory that the 4/110 does not have a floating
  27. point unit, so all real math is simulated in software.
  28. So the user time is not clocked up while the program
  29. waits for the system to come back with the floating
  30. point calculation.
  31.  
  32. For a correct figure for the machine do I need to add
  33. the sys and user times, ie 6.4 v 2438.5?
  34.  
  35.  
  36. --
  37. Lionel Tun   (lionel@cs.city.ac.uk)
  38. Vision Group, City University, London, EC1V 0HB. 071-477 8000 x 3889
  39.