Date: Tue, 24 Apr 2007 20:16:41 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) Cc: Tim Kientzle <kientzle@freebsd.org>, David G Lawrence <dg@dglawrence.com>, "Jesper B. Rosenkilde" <jbr@humppa.dk>, current@freebsd.org Subject: Re: Suggestions on Avoiding syscall Overhead Message-ID: <4548.1177445801@critter.freebsd.dk> In-Reply-To: Your message of "Tue, 24 Apr 2007 16:13:59 %2B0200." <86r6q9hnbs.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <86r6q9hnbs.fsf@dwp.des.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= writes: >des@des.no (Dag-Erling Sm=F8rgrav) writes: >> gettimeofday(2) returns a value in microseconds, but this does not >> necessarily mean that it has microsecond precision. > >s/precision/resolution/ Actually: s/precision/& or resolution/ Can I recommend that you not try the timestamping functions first, get something simple like uname(2) working first, then contact me and I'll help you get timecounters involved. -- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4548.1177445801>