Suggestions on Avoiding syscall Overhead
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Apr 24 20:16:48 UTC 2007
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.
More information about the freebsd-current
mailing list