Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2002 09:08:33 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "Sean Hamilton" <sh@planetquake.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: microuptime() and nanouptime() library? 
Message-ID:  <76157.1029654513@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 16 Aug 2002 19:14:24 PDT." <000701c24593$ceb71810$8eacb440@slugabed.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <000701c24593$ceb71810$8eacb440@slugabed.org>, "Sean Hamilton" write
s:
>Greetings,
>
>I just tried to use nanouptime, then microuptime, but was disappointed to
>find that a quick grep of /usr/lib revealed no libraries containing these
>symbols.
>
>Are they only available to the kernel. If so, how can I get a reasonable
>timer figure from user space?

There is no problem in making them available to userland, only the
question of which .h file to put them in and how to avoid breaking
some standard or other doing so.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76157.1029654513>