Mail Archives: djgpp/1998/08/16/04:35:27

Date: Sun, 16 Aug 1998 11:34:57 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: UNIX equivalent to DJGPP uclock ?
In-Reply-To: <199808131329.IAA03673@kendall.>
Message-ID: <Pine.SUN.3.91.980816113342.6981W-100000@is>
MIME-Version: 1.0

On Thu, 13 Aug 1998, Jeff Williams wrote:

> uclock() is not available in the UNIX sys/time.h header.  Other timing
> routines using clock() or gettimeofday() don't have the resolution I
> need.

Huh?  `gettimeofday' has microsecond resolution as well, look it up in 
the docs.

I suggest to use `gettimeofday', as it is much more portable.

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019