Article View: borland.public.delphi.nativeapi
Article #12199Re: QueryPerformanceFrequency
From: John Herbster TeamB
Date: Sat, 23 Nov 2002 14:39
Date: Sat, 23 Nov 2002 14:39
11 lines
1756 bytes
1756 bytes
"David J Taylor" <davidtaylor@writeme.com> wrote > ... However, I think there is a need to be careful about measuring > too small an interval because of the way that CPU and OS caching > behaves. ... or data is in the CPU cache (or cached from disk) a > program can perform substantially faster. I have observed the same, and also found that code and data "allignment" can make a two-to-one difference in speed. Sometimes inserting no-ops in code can make it run faster. Regards, JohnH
Technical Details
Message-ID:
<3ddf9338@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!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> <ha0stuk5f8isgsi777lr94gsumngrtpo3d@4ax.com> <3dde611f@newsgroups.borland.com> <3ddeb081$1@newsgroups.borland.com> <3ddeb2b6$1@newsgroups.borland.com> <3ddf630c@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-23 07:15:38 PST From: "John Herbster \(TeamB\)" <herb-sci at novus-tele.net> Newsgroups: borland.public.delphi.nativeapi References: <3dddc45c@newsgroups.borland.com> <ha0stuk5f8isgsi777lr94gsumngrtpo3d@4ax.com> <3dde611f@newsgroups.borland.com> <3ddeb081$1@newsgroups.borland.com> <3ddeb2b6$1@newsgroups.borland.com> <3ddf630c@newsgroups.borland.com> Subject: Re: QueryPerformanceFrequency Date: Sat, 23 Nov 2002 06:39:28 -0800 Lines: 13 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: <3ddf9338@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038062392 64.69.92.32 (23 Nov 2002 06:39:52 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!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