hwlocality_syntheticexport(3) | Library Functions Manual | hwlocality_syntheticexport(3) |
hwlocality_syntheticexport - Exporting Topologies to Synthetic
enum hwloc_topology_export_synthetic_flags_e {
HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES,
HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS,
HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_V1,
HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_IGNORE_MEMORY }
int hwloc_topology_export_synthetic
(hwloc_topology_t topology, char *buffer, size_t buflen, unsigned
long flags)
Flags for exporting synthetic topologies. Flags to be given as a OR'ed set to hwloc_topology_export_synthetic().
Enumerator
Export the topology as a synthetic string. At most buflen characters will be written in buffer, including the terminating \0.
This exported string may be given back to hwloc_topology_set_synthetic().
flags is a OR'ed set of hwloc_topology_export_synthetic_flags_e.
Returns
-1 if the topology could not be exported, for instance if it is not symmetric.
Note
A 1024-byte buffer should be large enough for exporting topologies in the vast majority of cases.
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Version 2.10.0 | Hardware Locality (hwloc) |