hwloc_obj_attr_u(3)

πŸ’… hwloc_obj_attr_u(3) β€” the Library Functions Manual moment

okay so bestie, welcome to hwloc_obj_attr_u(3) πŸ’– this one lives in the Library Functions Manual and it's basically the ✨vibe container✨ for object-type-specific attributes. no cap, it's short, but it's the main character of attribute storage. let's go πŸŽ€


🌸 NAME 🌸

hwloc_obj_attr_u β€” literally the name, that's it, that's the whole bit 🫢


✨ SYNOPSIS ✨

#include <hwloc.h>

πŸ¦‹ Data Structures

the whole squad, fr fr β€” six structs, no more, no less:

  • struct hwloc_numanode_attr_s
  • struct hwloc_cache_attr_s
  • struct hwloc_group_attr_s
  • struct hwloc_pcidev_attr_s
  • struct hwloc_bridge_attr_s
  • struct hwloc_osdev_attr_s

πŸŽ€ Data Fields

and here's who's actually in the union, bestie πŸ‘‘

  • struct hwloc_obj_attr_u::hwloc_numanode_attr_s numanode
  • struct hwloc_obj_attr_u::hwloc_cache_attr_s cache
  • struct hwloc_obj_attr_u::hwloc_group_attr_s group
  • struct hwloc_obj_attr_u::hwloc_pcidev_attr_s pcidev
  • struct hwloc_obj_attr_u::hwloc_bridge_attr_s bridge
  • struct hwloc_obj_attr_u::hwloc_osdev_attr_s osdev

like, one field per object type, and the type of the object decides which one you get to look at πŸ‘€ iykyk


🌈 Detailed Description 🌈

Object type-specific Attributes.

that's the whole description and honestly? iconic. short, sweet, does exactly what it says on the tin πŸ’…


🧚 Field Documentation 🧚

okay so here's the lineup again, this time in documentation form β€” every single one, because we do not skip entries in this house 🏠✨

πŸ“ struct hwloc_obj_attr_u::hwloc_bridge_attr_s hwloc_obj_attr_u::bridge

the bridge one, present and accounted for 🫢

πŸ“ struct hwloc_obj_attr_u::hwloc_cache_attr_s hwloc_obj_attr_u::cache

the cache one, slay πŸ’–

πŸ“ struct hwloc_obj_attr_u::hwloc_group_attr_s hwloc_obj_attr_u::group

the group one, no notes ✨

πŸ“ struct hwloc_obj_attr_u::hwloc_numanode_attr_s hwloc_obj_attr_u::numanode

the numanode one, periodt πŸŽ€

πŸ“ struct hwloc_obj_attr_u::hwloc_osdev_attr_s hwloc_obj_attr_u::osdev

the osdev one, love that for us πŸ¦‹

πŸ“ struct hwloc_obj_attr_u::hwloc_pcidev_attr_s hwloc_obj_attr_u::pcidev

and the pcidev one, finishing the set like a true closer πŸ”₯

ngl the original page gives these headings with zero extra prose under them, so bestie there is literally nothing more to tell you β€” the struct name is the whole documentation. don't come for me, I'm just the messenger 😭

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. so technically Doxygen wrote this one, not a human β€” credit where credit's due, bestie πŸ€–πŸ’œ


and that's the whole page!! πŸŽ‰πŸ’– mwah, go read your structs, you're gonna do great ⭐

Hardware Locality (hwloc) Β· Version 2.15.0 Β· hwloc_obj_attr_u(3) β€” catch you in the next manpage, bestie, byeee 🌸🫢✨

πŸ“¦ where this page comes from