On Wed, Aug 22, 2012 at 5:39 PM, richard -rw- weinberger <
richard.weinber...@gmail.com> wrote:
> On Wed, Aug 22, 2012 at 3:23 PM, Dragos Diaconescu
> <diacones...@gmail.com> 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.
> I don't have yet a test case. What I want to do is to make a busy
> waiting, and interrupt this busy waiting
>
at an interval of some nanoseconds and to use the ndelay function. I saw
that in the kernel implementation
for the uml there is no "delay_tsc"
function and there is only the "delay_loop" function. I am wondering why
the delay_tsc is not implemented. Is it not
possible to read the TSC register?
I would need this for having a nanosecond precision.
--
> Thanks,
> //richard
>
Best wishes,
Dragos
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel