[lkml]   [2001]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjecthow to get cpu_khz?
I'm using the TSC of the Pentium processors to get some precise timing
delays for writing to a eeprom (bit banging bus operations), and it
works just fine, but the cpu_khz variable isn't exported to a kernel
module, so I hardcoded in my module. It works fine for that one
system, but obviously I don't want to hard code it for the general
case. I guess I could write my own routine to figure out what the
cpu_khz is, but it is already done, so how do I get access to it?

| David Fries |
| |
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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