HWLOC_OBJ_ATTR_U_HWLOC_NUMANODE_ATTR_S(3)

✨ NAME ✨

okay so this page is hwloc_obj_...node_attr_s(3) from the Library Functions Manual, and the main character is hwloc_obj_attr_u::hwloc_numanode_attr_s. That name is lowkey a whole paragraph, bestie πŸ˜­πŸ’…

🌸 SYNOPSIS 🌸

First things first, you include the header like this:

#include <hwloc.h>

🧚 Data Structures 🧚

  • struct hwloc_memory_page_type_s β€” yep, that's the struct listed here ✨

πŸŽ€ Data Fields πŸŽ€

these are the fields, and the type names are highkey giving "group project final boss" 😭:

  • hwloc_uint64_t local_memory β€” the local_memory field, typed as hwloc_uint64_t πŸ’–
  • unsigned page_types_len β€” the page_types_len field, typed as unsigned 🫢
  • struct hwloc_obj_attr_u::hwloc_numanode_attr_s::hwloc_memory_page_type_s * page_types β€” the page_types field, with that whole nested struct pointer type, no cap πŸ¦‹

πŸ’œ Detailed Description πŸ’œ

NUMA node-specific Object Attributes. That's the description, short and sweet and very NUMA-node-coded πŸ’…

πŸ”₯ Field Documentation πŸ”₯

hwloc_uint64_t hwloc_obj_attr_u::hwloc_numanode_attr_s::local_memory

Local memory (in bytes). That's the note, bestie πŸ’–

struct hwloc_obj_attr_u::hwloc_numanode_attr_s::hwloc_memory_page_type_s * hwloc_obj_attr_u::hwloc_numanode_attr_s::page_types

This is the page_types field, full type and all. The original gives no extra lore on this one 😭✨

unsigned hwloc_obj_attr_u::hwloc_numanode_attr_s::page_types_len

Size of array page_types. Slay πŸŽ€

πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. fr fr, the robots wrote this one πŸ€–πŸ’–


xoxo, your bestie πŸ’– β€” source/version: Hardware Locality (hwloc), Version 2.15.0. The footer has no date, so I'm not inventing one 🫢✨

πŸ“¦ where this page comes from