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: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-02-17 17:52:50


On Feb 17, 2011, at 5:37 PM, Brice Goglin wrote:

> I am waiting for this troll to settle down before pushing some related
> changes (add a (cpubind?) support flag and a hwloc-bind option).
> I agree that "last" is better than "current". And I agree that
> "lastcpuexec" isn't perfect, but I didn't see anything better so far :)

hwloc_get_heisenbind()

(you can't know your binding and location at the same time -- nyuk nyuk)

hwloc_get_last_cpu_location()
hwloc_get_last_cpu_locality()
hwloc_get_last_known_cpuexec()
hwloc_get_last_seen_cpuexec()
hwloc_get_instant_cpuexec()
hwloc_get_cpuexec_now()
hwloc_get_my_last_cpuexec()
...?

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/