12 #ifndef HWLOC_EXPORT_H 13 #define HWLOC_EXPORT_H 16 #error Please include the main hwloc.h instead int hwloc_topology_export_xml(hwloc_topology_t topology, const char *xmlpath, unsigned long flags) Export the topology into an XML file.
Export extended types such as L2dcache as basic types such as Cache. Definition: export.h:215
int hwloc_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlbuffer, int *buflen, unsigned long flags) Export the topology into a newly-allocated XML memory buffer.
struct hwloc_topology * hwloc_topology_t Topology context. Definition: hwloc.h:637
Do not export level attributes. Definition: export.h:223
int hwloc_topology_export_synthetic(hwloc_topology_t topology, char *buffer, size_t buflen, unsigned long flags) Export the topology as a synthetic string.
int hwloc_export_obj_userdata_base64(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length) Encode and export some object userdata to XML.
hwloc_topology_export_xml_flags_e Flags for exporting XML topologies. Definition: export.h:35
hwloc_topology_export_synthetic_flags_e Flags for exporting synthetic topologies. Definition: export.h:209
void hwloc_topology_set_userdata_export_callback(hwloc_topology_t topology, void(*export_cb)(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj)) Set the application-specific callback for exporting object userdata.
Structure of a topology object. Definition: hwloc.h:357
int hwloc_export_obj_userdata(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length) Export some object userdata to XML.
void hwloc_topology_set_userdata_import_callback(hwloc_topology_t topology, void(*import_cb)(hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)) Set the application-specific callback for importing userdata.
void hwloc_free_xmlbuffer(hwloc_topology_t topology, char *xmlbuffer) Free a buffer allocated by hwloc_topology_export_xmlbuffer()
Do not export memory information. Definition: export.h:243
Export the memory hierarchy as expected in hwloc 1.x. Definition: export.h:233
Export XML that is loadable by hwloc v1.x. However, the export may miss some details about the topolo... Definition: export.h:40
|
|