9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Nigel Roles ngr@symbionics.co.uk
Subject: XaoS - fast realtime fractal zoomer
Date: Fri,  8 Nov 1996 11:15:08 +0100	[thread overview]
Message-ID: <19961108101508.DIhHn4q6Qd5uDkZ2oYHnPiVY05j5BohXHRJlXoA3anI@z> (raw)

> 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




             reply	other threads:[~1996-11-08 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-08 10:15 Nigel [this message]
1996-11-08 10:17 Nigel
1996-11-08 11:08 Jan
1996-11-08 11:37 Jan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19961108101508.DIhHn4q6Qd5uDkZ2oYHnPiVY05j5BohXHRJlXoA3anI@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).