Einzelnen Beitrag anzeigen

choose

Registriert seit: 2. Nov 2003
Ort: Bei Kiel, SH
729 Beiträge
 
Delphi 2006 Architect
 
#7

Re: Zeitmessung mit dem RealTimeCounter

  Alt 14. Jan 2004, 14:16
Mit Bei Google suchenqueryperformancecounter hyper threading konnte ich unter den ersten drei Treffern die Aussage
Zitat von JSI FAQ:
Some programs, mostly games, run incorrectly on the subject platforms [WinXP with HT].

This problems occurs if the program uses the QueryPerformanceCounter and QueryPerformanceFrequency functions to generate time code, as the output of these functions may be incorrectly interpreted.
sowie diesen Beitrag
Zitat von Ken Hagan:
There's QueryPerformanceCounter, but this may occasionally jump by
several seconds because of workarounds for some chipsets (Q274323). [..]On multi-processor (including hyper-threaded P4) systems, it [the frequency] is the processor clock speed [..].
[..]
In all cases, I suppose the workaround is to use the low resolution
clock to sanity-check the high resolution values.
finden.

Mit Multiprozessorsystemen hatte ich im Zusammenhang mit QueryPerformanceCounter bisher keine Schwierigkeiten. Ein Prozessor mit HT steht mir leider nicht zur Verfügung.

EDIT: Kleine Korrektur im zweiten Zitat
gruß, choose
  Mit Zitat antworten Zitat