home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18098 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  2.2 KB

  1. Xref: sparky comp.sys.amiga.programmer:18098 comp.sys.amiga.misc:19370
  2. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.misc
  3. Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!walker
  4. From: walker@twix.unx.sas.com (Doug Walker)
  5. Subject: Re: AmigaDOS vs. ANSI SAS implementation [Was Re: SAS C6.1 datecmp bug]
  6. Originator: walker@twix.unx.sas.com
  7. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  8. Message-ID: <C0C2oG.FpH@unx.sas.com>
  9. Date: Mon, 4 Jan 1993 14:24:16 GMT
  10. References: <BzEqDF.A5H@unx.sas.com> <DMAK.92Dec25000536@dec5120a.ccs.northeastern.edu> <C01BE5.ALJ@unx.sas.com> <1992Dec29.220310.29392@bernina.ethz.ch>
  11. Nntp-Posting-Host: twix.unx.sas.com
  12. Organization: SAS Institute Inc.
  13. Lines: 32
  14.  
  15.  
  16. In article <1992Dec29.220310.29392@bernina.ethz.ch>, wild@nessie.cs.id.ethz.ch (Markus Wild) writes:
  17. |> Since you mention it.. ;-) Some people bitched at ixemul.library clock(2) not
  18. |> really measuring real time, so I must assume it's a usual behavior of other
  19. |> AmigaOS clock(2) implementations to not return the amount of cpu time used by
  20. |> *the process calling clock*, but just some system dependant flavor of time(2)
  21. |> with an unknown time base. Is that true? Just as a reminder, this is from the
  22. |> man page of clock(2):
  23.  
  24. The ANSI definition of clock() does not require that clock() measure
  25. only CPU time.  Ours measures real time.
  26.  
  27. |> Is this what you implemented so efficiently ? ;-)
  28.  
  29. Efficient implementation has nothing to do with whether clock()
  30. measures real time or CPU time.  It is possible to have efficient
  31. implementations of incorrect algorithms, or inefficient implementations
  32. of correct algorithms.  In this case, the implementation is reasonably
  33. efficient and the algorithm, while not the ideal, is acceptable by 
  34. the ANSI standard.
  35.  
  36. |> Markus M. Wild    -  wild@nessie.cs.id.ethz.ch  |  wild@amiga.physik.unizh.ch 
  37.  
  38. -- 
  39.   *****
  40. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  41.  *|. o.| ||                                          1200/2400/9600 Dual
  42.   | o  |//     For all you do, this bug's for you!
  43.   ====== 
  44. usenet: walker@unx.sas.com                            bix: djwalker 
  45. Any opinions expressed are mine, not those of SAS Institute, Inc.
  46.  
  47.