* Emulate RDTSC
@ 2001-05-30 1:19 Jaswinder Singh
2001-05-30 5:51 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Jaswinder Singh @ 2001-05-30 1:19 UTC (permalink / raw)
To: linux-kernel; +Cc: Jaswinder Singh
Hi all,
What is the nice way (in accuracy and performance) to emulate RDTSC in Linux
for those architectures who dont support RDTSC like in Hitachi SH
Processors.
Thank you,
Best Regards,
Jaswinder.
--
These are my opinions not 3Di.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Emulate RDTSC
2001-05-30 1:19 Emulate RDTSC Jaswinder Singh
@ 2001-05-30 5:51 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2001-05-30 5:51 UTC (permalink / raw)
To: Jaswinder Singh; +Cc: linux-kernel
On Tue, 29 May 2001, Jaswinder Singh wrote:
> What is the nice way (in accuracy and performance) to emulate RDTSC in
> Linux for those architectures who dont support RDTSC like in Hitachi
> SH Processors.
if the hardware provides no way to get some accurate estimation of current
time, then there is no way to solve this problem in a generic way.
Typically there are some cycle-accuracy counters in the CPU (ideal
situation), or sometimes there is a counter in some external device (eg.
the i8254 timer counter), but access to these tend to be slow and
typically they are quite coarse as well.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-30 5:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-30 1:19 Emulate RDTSC Jaswinder Singh
2001-05-30 5:51 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®