On Thu, Aug 23, 2012 at 6:52 PM, richard -rw- weinberger <
richard.weinber...@gmail.com> wrote:

> On Wed, Aug 22, 2012 at 6:34 PM, Dragos Diaconescu
> <diacones...@gmail.com> wrote:
> >    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.
>
> You can access TSC from user space, so also UML can read it.
> There is no delay_tsc() in UML because nobody cared so far.
> Feel free to implement it and send me a patch. :-)
>
>    I will try to implement a delay_tsc for UML andI will send you a patch.
Can you please
  give me some directions? Shall I implement in the same manner as is
implemented in
  /arch/x86/lib/delay.c . What are the big differences between this
implementation and in an implementation
  for UML?

 --
> Thanks,
> //richard
>

  Many thanks,

  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-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to