hwlocality...eticexport(3)
β¨ NAME β¨
okay so bestie, this is the hwlocality...eticexport(3) page from the Library Functions Manual, and itβs all about hwlocality_syntheticexport β Exporting Topologies to Synthetic π
like, the name is right there and she ate, periodt β¨
πΈ SYNOPSIS πΈ
Enumerations
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 }
Functions
int hwloc_topology_export_synthetic (hwloc_topology_t topology, char
*buffer, size_t buflen, unsigned long flags)
π Detailed Description π
not me opening the detailed description just to find the enum and function lore below π«Ά this page is highkey the synthetic-export corner of hwloc, and the details are all in the next sections, no cap π
π Enumeration Type Documentation π
enum hwloc_topology_export_synthetic_flags_e
Flags for exporting synthetic topologies. Flags to be given as a ORβed set to hwloc_topology_export_synthetic(). (yes bestie, βa ORβed setβ is exactly the original wording, iykyk π)
Enumerator
HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPESβ export extended types such asL2dcacheas basic types such asCache. This is required if loading the synthetic description withhwloc < 1.9. β¨HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRSβ do not export level attributes. Ignore level attributes such as memory/cache sizes or PU indexes. This is required if loading the synthetic description withhwloc < 1.10. πHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_V1β export the memory hierarchy as expected in hwloc 1.x. Instead of attaching memory children to levels, export single NUMA node child as normal intermediate levels, when possible. This is required if loading the synthetic description with hwloc 1.x. However this may fail if some objects have multiple local NUMA nodes. πHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_IGNORE_MEMORYβ do not export memory information. Only export the actual hierarchy of normal CPU-side objects and ignore where memory is attached. This is useful for when the hierarchy of CPUs is what really matters, but it behaves as if there was a single machine-wide NUMA node. π
π₯ Function Documentation π₯
int hwloc_topology_export_synthetic (hwloc_topology_t topology, char *buffer, size_t buflen, unsigned long flags)
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
- The number of characters that were written, not including the terminating
\0. -1if the topology could not be exported, for instance if it is not symmetric.
Note: I/O and Misc children are ignored, the synthetic string only describes normal children. A 1024-byte buffer should be large enough for exporting topologies in the vast majority of cases. π«Ά
π Author π
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code, fr fr π«Ά
xoxo, Hardware Locality (hwloc) β Version 2.15.0 β hwlocality...eticexport(3) πβ¨
π¦ where this page comes from
- arch rolling: hwloc 2.15.0-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms