14 #error Please include the main hwloc.h instead
Integer attribute modification with an optional index.
Definition: diff.h:88
union hwloc_topology_diff_u * hwloc_topology_diff_t
One element of a difference list between two topologies.
hwloc_topology_diff_type_e
Type of one element of a difference list.
Definition: diff.h:109
union hwloc_topology_diff_u * next
Definition: diff.h:131
unsigned obj_depth
Definition: diff.h:149
struct hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s uint64
int hwloc_topology_diff_apply(hwloc_topology_t topology, hwloc_topology_diff_t diff, unsigned long flags)
Apply a topology diff to an existing topology.
The object local memory is modified. The union is a hwloc_topology_diff_obj_attr_uint64_s (and the in...
Definition: diff.h:65
hwloc_topology_diff_type_t type
Definition: diff.h:130
String attribute modification with an optional name.
Definition: diff.h:97
hwloc_uint64_t index
Definition: diff.h:91
unsigned obj_depth
Definition: diff.h:139
Apply topology diff in reverse direction.
Definition: diff.h:200
hwloc_topology_diff_obj_attr_type_t type
Definition: diff.h:84
char * name
Definition: diff.h:100
unsigned obj_index
Definition: diff.h:140
union hwloc_topology_diff_u * next
Definition: diff.h:147
hwloc_topology_diff_obj_attr_type_t type
Definition: diff.h:99
struct hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s string
hwloc_topology_diff_apply_flags_e
Flags to be given to hwloc_topology_diff_apply().
Definition: diff.h:196
int hwloc_topology_diff_load_xmlbuffer(hwloc_topology_t topology, const char *xmlbuffer, int buflen, hwloc_topology_diff_t *diff, char **refname)
Load a list of topology differences from a XML buffer.
int hwloc_topology_diff_load_xml(hwloc_topology_t topology, const char *xmlpath, hwloc_topology_diff_t *diff, char **refname)
Load a list of topology differences from a XML file.
One element of a difference list between two topologies.
Definition: diff.h:127
char * newvalue
Definition: diff.h:102
hwloc_topology_diff_type_t type
Definition: diff.h:136
char * oldvalue
Definition: diff.h:101
enum hwloc_topology_diff_type_e hwloc_topology_diff_type_t
Type of one element of a difference list.
hwloc_topology_diff_obj_attr_type_e
Type of one object attribute difference.
Definition: diff.h:60
hwloc_uint64_t oldvalue
Definition: diff.h:92
int hwloc_topology_diff_export_xml(hwloc_topology_t topology, hwloc_topology_diff_t diff, const char *refname, const char *xmlpath)
Export a list of topology differences to a XML file.
the value of an info attribute is modified. The union is a hwloc_topology_diff_obj_attr_string_s.
Definition: diff.h:76
int hwloc_topology_diff_build(hwloc_topology_t topology, hwloc_topology_t newtopology, unsigned long flags, hwloc_topology_diff_t *diff)
Compute the difference between 2 topologies.
hwloc_topology_diff_obj_attr_type_t type
Definition: diff.h:90
One object attribute difference.
Definition: diff.h:81
hwloc_uint64_t newvalue
Definition: diff.h:93
enum hwloc_topology_diff_obj_attr_type_e hwloc_topology_diff_obj_attr_type_t
Type of one object attribute difference.
int hwloc_topology_diff_destroy(hwloc_topology_t topology, hwloc_topology_diff_t diff)
Destroy a list of topology differences.
struct hwloc_topology * hwloc_topology_t
Topology context.
Definition: hwloc.h:577
The object name is modified. The union is a hwloc_topology_diff_obj_attr_string_s (and the name field...
Definition: diff.h:72
union hwloc_topology_diff_u * next
Definition: diff.h:137
hwloc_topology_diff_type_t type
Definition: diff.h:146
int hwloc_topology_diff_export_xmlbuffer(hwloc_topology_t topology, hwloc_topology_diff_t diff, const char *refname, char **xmlbuffer, int *buflen)
Export a list of topology differences to a XML buffer.
unsigned obj_index
Definition: diff.h:150