9fans archive / 1996 / 11 / 20 / prev next
From: Nigel Roles ngr@sym...
Subject: XaoS - fast realtime fractal zoomer
Date: Fri, 8 Nov 1996 11:15:08 +0100
> I did port of my XaoS to plan9. I have just small problem with timmings.
> Is there any functions that returns time in miliseconds or such like
> gettimeofday?
>
int
msec(void)
{
static int fd;
char buf[20]; /* ish */
if (fd < 0) fd = open("/dev/msec", OREAD);
read(fd, buf, 20);
Nigel Roles