Re: QueryPerformanceCounter Resolution
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Fri, 14 Sep 2007 21:34:00 -0700
Ogan <Ogan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
May be its easy, but where i can see processor type ?
What decision would you make if you knew? You can fetch
QueryPerformanceFrequency; if it's less than 10 million or so, then you're
using the PIT.
If im uderstanding you answer right, on 1-processor systems
QueryPerformanceCounter give me resolution 1.19-3.58 MHz(its nead 2-3
microseconds right ? ). On Multi processors(2 or more processors) we can get
1 GHz(nanosecond ?) resolution, but on this systems values is not reliable...
More than uniprocessor systems, what it takes is the standard uniprocessor
HAL (hal.dll). Some newer computers use the APIC HAL (halapic.dll), and it
uses a smarter method.
And All this mean that max resolution is 1.19-3.58 MHz ?
The max resolution depends on the system.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Re: QueryPerformanceCounter Resolution
- From: Tim Roberts
- Re: QueryPerformanceCounter Resolution
- Prev by Date: Re: Desktop Creation
- Next by Date: Re: Memory allocation
- Previous by thread: Re: QueryPerformanceCounter Resolution
- Next by thread: Re: QueryPerformanceCounter Resolution
- Index(es):