From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a7a9a65dd0529420 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-08-01 18:07:25 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!spool.mu.edu!news.clark.edu!netnews.nwnet.net!news.u.washington.edu!sinan From: sinan@u.washington.edu (Sinan Karasu) Newsgroups: comp.unix.osf.osf1 Subject: Re: Alpha system clock calls Date: 2 Aug 1994 01:01:13 GMT Organization: University of Washington, Seattle Message-ID: <31k5sp$ipl@news.u.washington.edu> References: <1994Jul18.180219.17019@decvax.dec.com> <30vvpf$igr@mrnews.mro.dec.com> <1994Jul25.182147.10426@decvax.dec.com> NNTP-Posting-Host: carson.u.washington.edu In article <1994Jul25.182147.10426@decvax.dec.com>, Jeffrey M. Denham wrote: > >|>: times: return process execution times. It seems to be working. >|>: >|>The manual entry for times is brain dead. >|>time_t times() is wrong!! It returns clock_t (see the header file >|>). > >Well, "brain dead" seems a bit extreme, but I'll get the problem >fixed. Thanks. > A related question. How does one implement the following pseudo-code: set interrupt period to 3 milliseconds; while(got_another_interrupt()){ do_something(); }; I want to be able to do this for some preset periodic timer. I want to be able to set the periodic timer anywhere from 1 millisecond to 1 second . I want 1 millisecond resolution. I want less than 300 microseconds dispatch latency.... Thanx Sinan