Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Re: High Performance Counter.

Reply
Thread Tools

Re: High Performance Counter.

 
 
Eternal Vigilance
Guest
Posts: n/a
 
      07-08-2003
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.


 
Reply With Quote
 
 
 
 
Skybuck Flying
Guest
Posts: n/a
 
      07-09-2003

"Eternal Vigilance" <> wrote in message
news:...
> 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).

Yeah... I did a little test and it seems it randomly sets it.

I also use it as relative time... I wondered if it could be used for
something else as well.

So that idea is not 'out the window'


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Motivating high-school students to join college after completing high school m1@mailinator.com Computer Support 4 08-13-2007 04:00 AM
High Def Brings High Sales Hopes. Allan DVD Video 59 08-08-2005 06:03 PM
Looking for high-end 18- or 19-inch flat panels with high resolution. KL234 Digital Photography 6 02-26-2004 08:18 PM
USB High Speed against USB Non High Speed DannyD1355 Computer Support 1 09-07-2003 02:59 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57