Re: [hwloc-devel] lstopo --top

2013-08-12 Thread Brice Goglin
Le 21/06/2013 18:22, Brice Goglin a écrit : > Le 21/06/2013 17:59, Jiri Hladky a écrit : >> Hi Brice, >> >> this would be useful feature for me and I believe also for others! >> Currently > The attached patch puts Misc object in Orange. See how I modified > lstopo.c, you'll see what you have to

Re: [hwloc-devel] lstopo --top

2013-06-24 Thread Brice Goglin
Le 21/06/2013 17:50, Jiri Hladky a écrit : > I have now changed it to > hwloc_obj[0] = hwloc_get_first_largest_obj_inside_cpuset(topology, > cpuset); > hwloc_obj[1] = hwloc_obj[0]->parent; > and tried both > hwloc_topology_insert_misc_object_by_parent (topology, hwloc_obj[0], > data); >

Re: [hwloc-devel] lstopo --top

2013-06-21 Thread Brice Goglin
Le 21/06/2013 17:59, Jiri Hladky a écrit : > Hi Brice, > > this would be useful feature for me and I believe also for others! > Currently The attached patch puts Misc object in Orange. See how I modified lstopo.c, you'll see what you have to do. I can easily add the same check to other types. >

Re: [hwloc-devel] lstopo --top

2013-06-21 Thread Jiri Hladky
I have checked API of hwloc_topology_insert_misc_object_by_parent and there is no support for color: hwloc_obj_t hwloc_topology_insert_misc_object_by_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, const char *name) Add a MISC object to the topology. hwloc_obj_t

Re: [hwloc-devel] lstopo --top

2013-06-21 Thread Samuel Thibault
Jiri Hladky, le Thu 20 Jun 2013 22:08:03 +0200, a écrit : > lstopo has obviously some logic how to sort the data inserted > by hwloc_topology_insert_misc_object_by_cpuset. Could be data displayed in the > same order as inserted? hwloc_topology_insert_misc_object_by_parent probably does that, you

Re: [hwloc-devel] lstopo --top

2013-06-21 Thread Brice Goglin
I don't think there's currently any way to do that. Coloring Misc objects with user-given colors shouldn't be hard to do, assuming we have a real need to put that feature in the official hwloc? Brice Le 20/06/2013 21:33, Jiri Hladky a écrit : > > > On Tue, Jun 18, 2013 at 5:32 PM, Samuel

Re: [hwloc-devel] lstopo --top

2013-06-20 Thread Jiri Hladky
Hi Samuel, lstopo has obviously some logic how to sort the data inserted by hwloc_topology_insert_misc_object_by_cpuset. Could be data displayed in the same order as inserted? While parsing 245 0 0 0 0 0 1 1 3 0 0 246 1 1 1 1 1 2 2 3 1 1 I'm trying to display the data in lstopo in format time:

Re: [hwloc-devel] lstopo --top

2013-06-20 Thread Jiri Hladky
On Tue, Jun 18, 2013 at 5:32 PM, Samuel Thibault wrote: > Hello, > > Jiri Hladky, le Tue 18 Jun 2013 17:18:15 +0200, a écrit : > > I would like to check the possibilities to visualize the results to the > output > > similar to lstopo --top (see the attachment). I would

Re: [hwloc-devel] lstopo --top

2013-06-18 Thread Samuel Thibault
Hello, Jiri Hladky, le Tue 18 Jun 2013 17:18:15 +0200, a écrit : > I would like to check the possibilities to visualize the results to the output > similar to lstopo --top (see the attachment). I would like to write a simple > utility which will >  * parse the above file >  * foreach timestep