|
Hardware Locality (hwloc)
PR-731-20250729.1706.git9b2ace280
|
14 #error Please include the main hwloc.h instead
@ HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE
Apply topology diff in reverse direction.
Definition: diff.h:202
hwloc_topology_diff_apply_flags_e
Flags to be given to hwloc_topology_diff_apply().
Definition: diff.h:198
String attribute modification with an optional name.
Definition: diff.h:99
unsigned obj_index
Definition: diff.h:152
char * name
Definition: diff.h:102
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.
int hwloc_topology_diff_load_xml(const char *xmlpath, hwloc_topology_diff_t *diff, char **refname)
Load a list of topology differences from a XML file.
union hwloc_topology_diff_u * next
Definition: diff.h:139
union hwloc_topology_diff_u * next
Definition: diff.h:149
struct hwloc_topology * hwloc_topology_t
Topology context.
Definition: hwloc.h:777
@ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO
the value of an info attribute is modified. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topo...
Definition: diff.h:78
unsigned obj_index
Definition: diff.h:142
struct hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s string
union hwloc_topology_diff_u * hwloc_topology_diff_t
One element of a difference list between two topologies.
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_uint64_t newvalue
Definition: diff.h:95
hwloc_uint64_t index
Definition: diff.h:93
hwloc_topology_diff_type_t type
Definition: diff.h:138
int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff)
Destroy a list of topology differences.
int obj_depth
Definition: diff.h:141
One object attribute difference.
Definition: diff.h:83
@ HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX
The difference is too complex, it cannot be represented. The difference below this object has not bee...
Definition: diff.h:124
hwloc_topology_diff_obj_attr_type_t type
Definition: diff.h:86
int hwloc_topology_diff_export_xmlbuffer(hwloc_topology_diff_t diff, const char *refname, char **xmlbuffer, int *buflen)
Export a list of topology differences to a XML buffer.
hwloc_topology_diff_obj_attr_type_e
Type of one object attribute difference.
Definition: diff.h:62
One element of a difference list between two topologies.
Definition: diff.h:129
@ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR
An object attribute was changed. The union is a hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s...
Definition: diff.h:115
int hwloc_topology_diff_export_xml(hwloc_topology_diff_t diff, const char *refname, const char *xmlpath)
Export a list of topology differences to a XML file.
@ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME
The object name is modified. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_a...
Definition: diff.h:74
hwloc_topology_diff_type_t type
Definition: diff.h:132
struct hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s uint64
Integer attribute modification with an optional index.
Definition: diff.h:90
hwloc_topology_diff_type_e
Type of one element of a difference list.
Definition: diff.h:111
char * oldvalue
Definition: diff.h:103
union hwloc_topology_diff_u * next
Definition: diff.h:133
hwloc_topology_diff_type_t type
Definition: diff.h:148
enum hwloc_topology_diff_type_e hwloc_topology_diff_type_t
Type of one element of a difference list.
int obj_depth
Definition: diff.h:151
hwloc_topology_diff_obj_attr_type_t type
Definition: diff.h:92
char * newvalue
Definition: diff.h:104
@ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE
The object local memory is modified. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_di...
Definition: diff.h:67
hwloc_uint64_t oldvalue
Definition: diff.h:94
enum hwloc_topology_diff_obj_attr_type_e hwloc_topology_diff_obj_attr_type_t
Type of one object attribute difference.
hwloc_topology_diff_obj_attr_type_t type
Definition: diff.h:101
int hwloc_topology_diff_load_xmlbuffer(const char *xmlbuffer, int buflen, hwloc_topology_diff_t *diff, char **refname)
Load a list of topology differences from a XML buffer.