Article View: alt.comp.hardware
Article #2244Re: High Performance Counter.
From: Eternal Vigilance
Date: Tue, 08 Jul 2003 23:28
Date: Tue, 08 Jul 2003 23:28
41 lines
3237 bytes
3237 bytes
I think it just resets when the CPU is powered up, but never thought of looking into it since always have used it as a relative time difference (endtime-starttime). It would probably be hard to synchronize to an external (high accuracy) clock as its count is so fast that the non-deterministic (timewise) operation of any program would be off by some significant count by the time any set instruction could be run. Skybuck Flying wrote: > Hi, > > I have some questions about the high performance counter. > > 1. When the power is off does the high performance counter continue to tick > ? > > 2. If not then how is the high performance counter initialized at boottime ? > > 3. Where can I find more information about the chip(s) for the high > performance counter ? > > 4. Is it possible to reset the high performance counter via a software call > ? > > 5. How is the frequency related to the hardware ? I know it's different per > processor... but is it for example different depending on memory speed ? or > does it always have a fixed frequency ? > > ( note: I changed the windows xp system time to see what would happen, it > did not affect the high performance counter, so it seems not related to each > other ) > > p.s.: I know it's off-topic in some newsgroups I posted too but euhm... I > didn't know what newsgroup was best suited for it, I hope you understand :) > > Thank you, > Skybuck.
Technical Details
Message-ID:
<3F0B53D4.7A454BA2@oneeye.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!elnk-pas-nf2!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mailReferences:
<beelv4$a88$1@news4.tilbu1.nb.home.nl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11431d,a4bc565a47d22c3e X-Google-Attributes: gid11431d,public X-Google-Thread: 102b32,a4bc565a47d22c3e X-Google-Attributes: gid102b32,public X-Google-Thread: 10aa6b,a4bc565a47d22c3e X-Google-Attributes: gid10aa6b,public X-Google-Thread: 1014db,a4bc565a47d22c3e X-Google-Attributes: gid1014db,public X-Google-Thread: f5f89,a4bc565a47d22c3e X-Google-Attributes: gidf5f89,public X-Google-Thread: 108f8f,a4bc565a47d22c3e X-Google-Attributes: gid108f8f,public X-Google-Thread: 109d30,a4bc565a47d22c3e X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2003-07-08 16:32:07 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!elnk-pas-nf2!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3F0B53D4.7A454BA2@oneeye.com> From: Eternal Vigilance <wotan@oneeye.com> X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: alt.comp.hardware,alt.comp.shareware.programmer,alt.games.programming,borland.public.delphi.language.objectpascal,comp.lang.c,comp.os.linux.hardware,microsoft.public.windowsxp.hardware Subject: Re: High Performance Counter. References: <beelv4$a88$1@news4.tilbu1.nb.home.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 42 Date: Tue, 08 Jul 2003 23:28:57 GMT NNTP-Posting-Host: 165.247.200.51 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1057706937 165.247.200.51 (Tue, 08 Jul 2003 16:28:57 PDT) NNTP-Posting-Date: Tue, 08 Jul 2003 16:28:57 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net