X86 platform drivers
 help / color / mirror / Atom feed
* How to read time stamp from HPET timer from device driver?
@ 2010-07-13  9:36 Samuel Xu
  2010-07-13  9:39 ` Samuel Xu
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel Xu @ 2010-07-13  9:36 UTC (permalink / raw)
  To: platform-driver-x86

HI:
I am a freshman for HPET timer. Previously, I use TSC counter, to use
rdtsc to get the time stamp. elapsed cycle can be counter from 2 time
stamps.
As a advanced replacement of TSC, I suppose HPET timer can be
conveniently to read time stamp from both kernel mode user  and user
mode apps.
While I failed to find a way to get time stamp value of HPET in Linux
kenerl (I am doing a driver and want to know elapsed cycle from driver
code).

Anyone can help me?

Thanks!

Samuel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-15 16:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-13  9:36 How to read time stamp from HPET timer from device driver? Samuel Xu
2010-07-13  9:39 ` Samuel Xu
2010-07-13 13:08   ` Thadeu Lima de Souza Cascardo
2010-07-13 13:34     ` Samuel Xu
2010-07-13 14:03       ` Thadeu Lima de Souza Cascardo
2010-07-15 16:39       ` Thomas Renninger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox