Re: cvs commit: src/sys/i386/include cpu.h

[ Available lists | Index of cvs-all | Month of Feb 2003 | Week of 5 Feb 2003 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
<phk@freebsd.org>
Date
5 Feb 2003 07:41:55
Subject
Re: cvs commit: src/sys/i386/include cpu.h
Message-ID
40874.1044459711@critter.freebsd.dk

In reply to

[ Hide this part ]
In message <200302051516.h15FGbaX089670@grimreaper.grondar.org>, Mark Murray wri
tes:
>Poul-Henning Kamp writes:
>> phk 2003/02/05 00:55:10 PST
>>
>> Modified files:
>> sys/i386/include cpu.h
>> Log:
>> Make get_cyclecount() use binuptime() when no tsc is available: it is cheaper.
>
>Excellent!
>
>(How fast does this increment?)

Dunno, we save a multiplication and some additions.

--
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 cvs-all" in the body of the message



Elapsed time: 0.105 seconds