Re: rdtsc vs. GetTickCount()
- From: Lars <lbg_@xxxxxxxxxxxx>
- Date: Sun, 28 Aug 2005 15:50:21 +0200
Bruce McGee wrote:
The following function (from the MM Challenge) does not compile in Delphi 5. Is it save to replace this with GetTickCount for compatibility, or will that cause problems?
function GetCPUTicks: Int64; asm rdtsc; end;
My proposal is to change
rdtsc;
to
db $0F; db $31; //rdtsc
Regards Lars G .
- Follow-Ups:
- Re: rdtsc vs. GetTickCount()
- From: Bruce McGee
- Re: rdtsc vs. GetTickCount()
- References:
- rdtsc vs. GetTickCount()
- From: Bruce McGee
- rdtsc vs. GetTickCount()
- Prev by Date: rdtsc vs. GetTickCount()
- Next by Date: Re: rdtsc vs. GetTickCount()
- Previous by thread: rdtsc vs. GetTickCount()
- Next by thread: Re: rdtsc vs. GetTickCount()
- Index(es):
Relevant Pages
|