Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] get cpu where a process/thread is executing
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-02-14 09:19:19


Jeff Squyres, le Mon 14 Feb 2011 14:56:45 +0100, a écrit :
> On Feb 14, 2011, at 8:23 AM, Samuel Thibault wrote:
>
> >> Let's not use "cpu" -- how about get_current_cpubind? (vs. get_cpubind)
> >
> > The point is precisely that it's not the cpu binding, but where the
> > thread is actually _running_ precisely.
>
> Hmm; ok. I like the word "current" in here, somehow. Gives the connotation that it might change in the future (if it's not bound).

Well, I prefer "last" because it even expresses that it's probably
already expired :)

> Maybe get_current_cpuset?

It seems to me that may bring confusion with cpubind (and linux' cpuset
:) )

Samuel