Queryperformancefrequency
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 165 articles for 0.305 sec
While rdtsc is one possible implementation, on some CPUs/systems the QPC needs to be implemented in a more complex manner (multiple CPUs, CPUs with adaptive frequency, like seen first in notebooks and now in most systems...) I would definitely not recommend using rdtsc directly - it was quite a common practice in game programming to do this a few years back, and games which did it are     

Group: microsoft.public.vc.language · Group Profile · Search for Queryperformancefrequency in microsoft.public.vc.language
Author: Ondrej Spanel
Date: Mar 19, 2008 07:53

"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp> wrote: "David Webber" <dave@musical-dot-demon-dot-co.uk> wrote in message: 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
Show full article (1.16Kb) · Show article thread
"David Webber" <dave@musical-dot-demon-dot-co.uk> wrote in message news:ejOAruBiIHA.5956@TK2MSFTNGP03.phx.gbl... > 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     

Group: microsoft.public.vc.language · Group Profile · Search for Queryperformancefrequency in microsoft.public.vc.language
Author: Tim Roberts
Date: Mar 18, 2008 23:29

"David Webber" wrote: 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? A high-resolution performance counter is an euphemism
Show full article (1.21Kb) · Show article thread
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? Dave -- David Webber Author of 'Mozart the Music Processor' http://www.mozart.co     

Group: microsoft.public.vc.language · Group Profile · Search for Queryperformancefrequency in microsoft.public.vc.language
Author: David Webber
Date: Mar 17, 2008 10:59

"Michael" <michael.at.gmail.dot.com> a écrit dans le message de news: Xns9890BC2304862michaelatgmaildotcom@212.27.60.37... Oui, il faut appeler QueryPerformanceFrequency pour avoir la fréquence du Timer. C'est ce qui vous permettra de relier à un temps, la valeur retournée par QueryPerformanceCounter QueryPerformanceFrequency renvoie usuellement (et historiquement
Show full article (1.25Kb) · Show article thread
"Michael" <michael.at.gmail.dot.com> wrote in message news:Xns989092D9DAAEDmichaelatgmaildotcom@212.27.60.37... > Bonjour à tous, > > il est dit dans la MSDN, à propos de QueryPerformanceFrequency: > > The QueryPerformanceFrequency function retrieves the frequency of the high- > resolution performance counter, if one exists. > > Qu'est-ce qui fait que ce compteur peut ne pas exister? Est     

Group: microsoft.public.vc.language · Group Profile · Search for Queryperformancefrequency in microsoft.public.vc.language
Author: Alex Blekhman
Date: Mar 17, 2008 04:45

VERY GOOD! When in doubt, measure. I spent 15 years doing performance measurement, and learned that if you ask a programmer where the performance bottleneck is in the program, you will get the wrong answer. Always. (In fact, there were never any exceptions to this the whole time I was doing performance measurement). But once you've measured, you have facts. Then you can make informed decisions
Show full article (0.49Kb) · Show article thread
No, I mean that you do something like LARGE_INTEGER start; ::QueryPerformanceCounter(&start); ... do computation ::QueryPerformanceCounter(&end); LONGLONG delta = end.QuadPart - start.QuadPart; do this for two different algorithms (you said you had already written them, so instrumenting them requires the four lines above!) Look at the results. Make several measurements and average     

Group: microsoft.public.vc.language · Group Profile · Search for Queryperformancefrequency in microsoft.public.vc.language
Author: David Webber
Date: Mar 17, 2008 03:42

Joseph M. Newcomer wrote: Has it occurred to you that you can actually *measure* the time yourself? Look at ::QueryPerformanceCounter and ::QueryPerformanceFrequency. Thanks, I think I can test it myself. Why depend on secondary sources when you can get the raw data on your own? Sorry, Joe, I can't understand this sentence above. Do you mean that I should depend on the source
Show full article (0.48Kb)
    

Group: fr.comp.os.ms-windows.programmation · Group Profile · Search for Queryperformancefrequency in fr.comp.os.ms-windows.programmation
Author: Arnaud Debaene
Date: Dec 5, 2006 12:28

Show full article (2.17Kb)
    

Group: fr.comp.os.ms-windows.programmation · Group Profile · Search for Queryperformancefrequency in fr.comp.os.ms-windows.programmation
Author: Vincent Burel
Date: Dec 5, 2006 06:46

Show full article (1.09Kb) · Show article thread
    

Group: microsoft.public.vc.mfc · Group Profile · Search for Queryperformancefrequency in microsoft.public.vc.mfc
Author: Joseph M. Newcomer
Date: Sep 22, 2008 05:54

Show full article (2.90Kb) · Show article thread
    

Group: microsoft.public.vc.mfc · Group Profile · Search for Queryperformancefrequency in microsoft.public.vc.mfc
Author: Joseph M. Newcomer
Date: Sep 19, 2008 17:45

Show full article (1.63Kb) · Show article thread
    

Group: microsoft.public.vc.mfc · Group Profile · Search for Queryperformancefrequency in microsoft.public.vc.mfc
Author: asm23
Date: Sep 19, 2008 09:35

Show full article (0.59Kb) · Show article thread
1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · next