www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/12/09:12:15

Date: Mon, 12 Jul 93 08:33:38 EDT
From: DJ Delorie <dj AT local DOT ctron DOT com>
To: u7711501 AT bicmos DOT ee DOT nctu DOT edu DOT tw
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Timer function

> Hi:
>   Does anyone implement setitimer() & getitimer() functions ?
>   The time() function return time in second resolution. I want a timer with
> micro-second or mini-second resolution.

Use clock() instead of time().  Clock returns microsecond resolution.

- Raw text -


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