home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!spool.mu.edu!darwin.sura.net!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louie
- From: louie@sayshell.umd.edu (Louis A. Mamakos)
- Newsgroups: comp.sys.next.programmer
- Subject: Re: Trouble with setitimer and getitimer.
- Date: 11 Jan 1993 15:29:37 GMT
- Organization: The University of Maryland, College Park
- Lines: 14
- Message-ID: <1is3p1INNj0e@ni.umd.edu>
- References: <1993Jan8.215238.29927@news2.cis.umn.edu>
- NNTP-Posting-Host: sayshell.umd.edu
-
- In article <1993Jan8.215238.29927@news2.cis.umn.edu> jalegre@tsp.med.umn.edu (John Alegre) writes:
- >I am trying to time a tight SCSI read loop on a
- >NeXT machine.
- >
- >I am having trouble with the UNIX functions
- >setitimer and getitimer.
-
- You don't want to use setitimer or getitimer, which are used to generate
- alarm clock signals to your process. What you really want to use is
- gettimeofday() before and after. Do 'man 2 gettimeofday' and also look
- at <sys/timer.h>
-
- Louis Mamakos
-
-