Re: rdtsc vs. GetTickCount()
- From: "Will DeWitt Jr." <edge@xxxxxxxxxxxxxxxxxxx>
- Date: 30 Aug 2005 22:33:27 -0700
Sasa Zeman wrote in <xn0e6jl213vlng000@xxxxxxxxxxxxxxxxxxxxxx>:
> GetTickCount method always return quite realistic value.
GetTickCount can roll over. Not a showstopper if you take said rollover
into account, but you're much less likely to have a rollover with
RDTSC. Also, RDTSC works at the clock-cycle level, a much more
meaningful value than milliseconds (which don't take into account
processor speed-- e.g.: a 500 MHz Pentium III vs. a 3.2 GHz Pentium 4).
That's my opinion anyways. :P
*shrug*
Will
--
Want native support in Delphi for AMD64/EM64T? Vote here--
http://qc.borland.com/wc/qcmain.aspx?d=7324
.
- Follow-Ups:
- Re: rdtsc vs. GetTickCount()
- From: Dennis
- Re: rdtsc vs. GetTickCount()
- References:
- rdtsc vs. GetTickCount()
- From: Bruce McGee
- Re: rdtsc vs. GetTickCount()
- From: Rudy Velthuis [TeamB]
- Re: rdtsc vs. GetTickCount()
- From: Sasa Zeman
- rdtsc vs. GetTickCount()
- Prev by Date: Re: Potential FastCode speed increase?
- Next by Date: Re: rdtsc vs. GetTickCount()
- Previous by thread: Re: rdtsc vs. GetTickCount()
- Next by thread: Re: rdtsc vs. GetTickCount()
- Index(es):
Relevant Pages
|