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-12 17:41:51

Samuel Thibault, le Sat 12 Feb 2011 23:24:15 +0100, a écrit :
> For the windows case, could you just put a "TODO: use
> GetCurrentProcessorNumber" comment?

For the AIX case, please put a "TODO: use mycpu()" comment.
For the freebsd case, please put a "TODO: find out ki_lastcpu" comment.

That makes me thing that maybe get_lastcpuexec might be better at
expressing that the value is potentially out of date as soon as it