c++ - QueryPerformanceCounter Status? -


I have read something about the problems and problems of QPC implementation. But all those discussions and articles have to be out of time is.

Anyone know what is the present status of QPC functionality on existing Win7 OS and Intel / AMD cpus? Is there any improvement? For example, is Turbo Boost still a big issue?

I am particularly interested in this because I need time to decide between time of application, timetable for time in my application and query performance.

QPC had compromised software side by Microsoft's age (old KB article on problem :). This fix can be established for any piece of mind on any target system (I have seen some games), although this should not be required. All new processors have hardware correction / compensation, as well as TCC is being synchronized correctly between the core, so problems with the RDTSC based timer have been aborted. Hot-fix can be obtained from here: I'm not sure there is anything for other systems, but due to this it was a fix in Windows Vista and Windows 7 based OS. According to the question of accuracy, it is dependent on the hardware, but Microsoft says that the QPC can get you the most accurate timer (with good performance), from inline __ rdtsc () Less, I doubt you'll find more accurate.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -