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