Re: [uml-devel] [uml-user] TSC register

2012-08-22 Thread Dragos Diaconescu
On Wed, Aug 22, 2012 at 5:39 PM, richard -rw- weinberger < [email protected]> wrote: > On Wed, Aug 22, 2012 at 3:23 PM, Dragos Diaconescu > wrote: > > On an ubuntu kernel I used a busy waiting, with ndelay function which > uses > > the TSC register, but > > I have noticed that this re

Re: [uml-devel] [uml-user] TSC register

2012-08-22 Thread richard -rw- weinberger
On Wed, Aug 22, 2012 at 3:23 PM, Dragos Diaconescu wrote: > On an ubuntu kernel I used a busy waiting, with ndelay function which uses > the TSC register, but > I have noticed that this register cannot be read from an UML. Please provide a test case. -- Thanks, //richard -

[uml-devel] TSC register

2012-08-22 Thread Dragos Diaconescu
Hello, I am currently writing a kernel module that I would like to use it in the UML, on ubuntu. In this module I have some events that I would like to generate with a ns precision. (e.g every 10 ns). On an ubuntu kernel I used a busy waiting, with ndelay function which uses the TSC register, bu