lkml.org 
[lkml]   [2001]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: CPU frequency shifting "problems"
Date
From
> > We do 5uS per transition 4 transitions per bit, 64bits. So thats 1.2mS
> > or using the PM timer thats 0.25 seconds
>
> OK ya lost me...;-)

I got my maths wrong by a slight factor of 1000, ignore me - there is a
reason I didnt do maths at university 8)

> Both Windows and FreeBSD-CURRENT use the PM timer for udelays. It is 3579545
> Hz. ~2.71 ticks per usec. Read the PM timer, add (2.71 * 5), loop on reading
> the PM timer until it reaches that, and (give or take) you have a 5us delay
> that does not depend on the TSC.

4MHz is not actually too bad at all, providing the reading overhead is
low
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.037 / U:1.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site