[lkml]   [1996]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Accessing Pentium MSRs
Theodore Ts'o wrote:
> If I remember correctly, there's some way of enabling r/o access the
> time stamp counter from user mode. If that's true, then we don't have
> to use the syscall method at all. This would be a big win, since the
> syscall processing adds quite a large number of extra cycles to the time
> stamp counter. :-)
> - Ted

Forgive me if this has nothing to do with it, but, I was poking around the net and found which is a c++ class implementation of a
timer that make use of a pentium register, obviously in user mode. Might be worthwhile
having a look at.


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