Jeff Squyres wrote:
> On Jan 19, 2010, at 3:20 AM, Brice Goglin wrote:
>
>> I propose the following changes to the object attributes. struct
>> hwloc_obj now contains a struct hwloc_memory pointer:
>>
>
> Is there any reason not to make this a sub-struct included in hwloc_obj (vs.
> a poin
Jeff Squyres, le Tue 19 Jan 2010 07:03:55 -0500, a écrit :
> On Jan 17, 2010, at 6:31 AM, Brice Goglin wrote:
>
> > Right now we have total amount + number of hugepages + size of
> > hugepages. I was only talking about modifying the way to store all this
> > so as it'd be to easier to add multiple
On Jan 19, 2010, at 3:20 AM, Brice Goglin wrote:
> I propose the following changes to the object attributes. struct
> hwloc_obj now contains a struct hwloc_memory pointer:
Is there any reason not to make this a sub-struct included in hwloc_obj (vs. a
pointer that requires an additional malloc)?
On Jan 17, 2010, at 6:31 AM, Brice Goglin wrote:
> Right now we have total amount + number of hugepages + size of
> hugepages. I was only talking about modifying the way to store all this
> so as it'd be to easier to add multiple hugepage size x number one day.
> I wasn't talking about adding norm
I propose the following changes to the object attributes. struct
hwloc_obj now contains a struct hwloc_memory pointer:
struct hwloc_memory {
unsigned long total_kB; /* Total memory in this object and its children */
unsigned long local_kB; /* Local memory in this object */
struct hwloc_memo