lkml.org 
[lkml]   [2008]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: looking for a function
Hi Arjan,

thanks,
I will try that!

Best regards,

Yang

2008/9/16, Arjan van de Ven <arjan@infradead.org>:
> On Tue, 16 Sep 2008 16:11:10 +0200
> "Xu Yang" <risingsunxy@googlemail.com> wrote:
>
> > Hi Bernd,
> >
> > thanks for you reply.
> >
> > yes, I know the thread migrates all the time, this is exactly what I
> > would like to observe. I would like to learn about the thread
> > migration of some specific scheduling algorithm. so ....
> >
> > any idea about the function?
>
> the getcpu() system call will do what you want.
>
>
>
> --
> Arjan van de Ven Intel Open Source Technology Centre
> For development, discussion and tips for power savings,
> visit http://www.lesswatts.org
>


\
 
 \ /
  Last update: 2008-09-16 16:35    [W:0.052 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site