Re: Suggestions on Avoiding syscall Overhead

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 24 Apr 2007 20:16:41 +0000
In message <86r6q9hnbs.fsf_at_dwp.des.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= 
writes:
>des_at_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_at_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.
Received on Tue Apr 24 2007 - 18:16:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC