lkml.org 
[lkml]   [1997]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMSR

Is it possible for me to use the cycle counter MSR entirely from user
space? I hack a simulation application that uses the cycle counter on
the SGI. The advantage to using the cycle counter is that it serves
as a super fast, super accurate gettimeofday. This is important to my
simulation. It would be nice if I could get the same kind of
advantage on Linux/i386.

FYI: Already, this application benchmarks better on a Pentium Pro 200
than on a 195MHz r10000 SGI Indigo2. And the SGI has the unfair
advantage of not having to byte swap a lot of network traffic and
having a cycle counter.
--
Gene McCulley mcculley@iag.net http://www.iag.net/~mcculley

\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans