Re: QueryPerformanceFrequency
- From: "Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp>
- Date: Mon, 17 Mar 2008 10:39:09 -0400
"David Webber" <dave@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:ejOAruBiIHA.5956@xxxxxxxxxxxxxxxxxxxxxxx
The topic "About timers" in the documentation says:
"If a high-resolution performance counter exists on the system, you can use the QueryPerformanceFrequency function to express the frequency, in counts per second"
The "if" is a bit worrying: am I likely to encounter systems on which there isn't one?
IMO you can ignore that "if." It is a holdover from the long-gone days when Windows was supported on several processor families. All Intel and Intel-compatible processors support the high speed timer. (But I don't know anything about the Windows CE platforms!)
--
Scott McPhillips [VC++ MVP]
.
- Follow-Ups:
- Re: QueryPerformanceFrequency
- From: Tim Roberts
- Re: QueryPerformanceFrequency
- Prev by Date: Re: CreateThread
- Next by Date: basic_string constructor allocator
- Previous by thread: Re: QueryPerformanceFrequency
- Next by thread: Re: QueryPerformanceFrequency
- Index(es):