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 08:23:14


Jeff Squyres, le Mon 14 Feb 2011 14:19:22 +0100, a écrit :
> On Feb 12, 2011, at 5:23 PM, Samuel Thibault wrote:
>
> >> * I am not such a big fan of get_cpuexec and get_proc_cpuexec names, any
> >> better names?
> >
> > I've often seen things like get_currentcpu
>
> 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.

Samuel