Article View: borland.public.delphi.nativeapi
Article #12189Re: QueryPerformanceFrequency
From: John Herbster TeamB
Date: Sat, 23 Nov 2002 03:30
Date: Sat, 23 Nov 2002 03:30
15 lines
1804 bytes
1804 bytes
"judy" <benny@chrysanth.com> wrote > i am actually using the queryperformancecounter to > measure the sql performance on the interbase , that is > to measure on particular sql's prepare time and execute > time, i wonder i should continue using this function ...? For that kind of measurement, you could maybe even use the Now time, but I suggest also looking at the Win SDK GetProcessTimes and GetThreadTimes. However, it is the thought given to the construction of your tests and the interpretation of the results that I suggest is more important that the stick used measure time. Regards, JohnH GetProcessTimes
Technical Details
Message-ID:
<3ddef66e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!208.184.7.66.MISMATCH!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<3dddc45c@newsgroups.borland.com> <3dde56cf$2@newsgroups.borland.com> <3dde613d$1@newsgroups.borland.com> <3ddea731@newsgroups.borland.com> <3ddeaf46$1@newsgroups.borland.com> <3ddedf8c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,64862bd85e1470d9 X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2002-11-22 20:15:58 PST From: "John Herbster \(TeamB\)" <herb-sci at novus-tele.net> Newsgroups: borland.public.delphi.nativeapi References: <3dddc45c@newsgroups.borland.com> <3dde56cf$2@newsgroups.borland.com> <3dde613d$1@newsgroups.borland.com> <3ddea731@newsgroups.borland.com> <3ddeaf46$1@newsgroups.borland.com> <3ddedf8c@newsgroups.borland.com> Subject: Re: QueryPerformanceFrequency Date: Fri, 22 Nov 2002 19:30:23 -0800 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: 64.69.92.32 Message-ID: <3ddef66e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038022254 64.69.92.32 (22 Nov 2002 19:30:54 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!208.184.7.66.MISMATCH!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail