PAPI_hw_info_t(3)

πŸ’– NAME πŸ’–

PAPI_hw_info_t β€” the hardware info structure, bestie. This is the PAPI manual page for PAPI_hw_info_t(3), and it's basically the struct that's spilling all the hardware tea. 🫢


✨ SYNOPSIS ✨

#include <papi.h>

πŸŽ€ Data Fields πŸŽ€

Okay so here's the full field lineup β€” exact names, exact types, no edits, no cap:

  • int ncpu
  • int threads
  • int cores
  • int sockets
  • int nnodes
  • int totalcpus
  • int vendor
  • char vendor_string [128]
  • int model
  • char model_string [128]
  • float revision
  • int cpuid_family
  • int cpuid_model
  • int cpuid_stepping
  • int cpu_max_mhz
  • int cpu_min_mhz
  • PAPI_mh_info_t mem_hierarchy
  • int virtualized
  • char virtual_vendor_string [128]
  • char virtual_vendor_version [128]
  • float mhz
  • int clock_mhz
  • int reserved [8]

🌸 Field Documentation 🌸

Field-by-field vibe check, in the same order as the page. Let's get into it πŸ’…

int PAPI_hw_info_t::clock_mhz

Deprecated. That's the whole note, bestie β€” it's deprecated, so don't make it your main character. πŸ’€

int PAPI_hw_info_t::cores

Number of cores per socket. πŸ‘‘

int PAPI_hw_info_t::cpu_max_mhz

Maximum supported CPU speed. πŸ”₯

int PAPI_hw_info_t::cpu_min_mhz

Minimum supported CPU speed. 🧊

int PAPI_hw_info_t::cpuid_family

cpuid family. Periodt.

int PAPI_hw_info_t::cpuid_model

cpuid model. ✨

int PAPI_hw_info_t::cpuid_stepping

cpuid stepping. πŸ‘Ÿ

PAPI_mh_info_t PAPI_hw_info_t::mem_hierarchy

PAPI memory hierarchy description β€” the memory hierarchy tea πŸ“

float PAPI_hw_info_t::mhz

Deprecated. Yep, another deprecated one β€” don't get too attached, bestie. 😭

int PAPI_hw_info_t::model

Model number of CPU. πŸ”’

char PAPI_hw_info_t::model_string[128]

Model string of CPU. πŸ’…

int PAPI_hw_info_t::ncpu

Number of CPUs per NUMA Node. 🧚

int PAPI_hw_info_t::nnodes

Total Number of NUMA Nodes. 🌈

float PAPI_hw_info_t::revision

Revision of CPU. πŸŽ€

int PAPI_hw_info_t::sockets

Number of sockets. 🫢

int PAPI_hw_info_t::threads

Number of hdw threads per core. 🧡

int PAPI_hw_info_t::totalcpus

Total number of CPUs in the entire system β€” the whole system, no cap. πŸ”₯

int PAPI_hw_info_t::vendor

Vendor number of CPU. 🏷️

char PAPI_hw_info_t::vendor_string[128]

Vendor string of CPU. πŸ’–

char PAPI_hw_info_t::virtual_vendor_string[128]

Vendor for virtual machine. 🌸

char PAPI_hw_info_t::virtual_vendor_version[128]

Version of virtual machine. πŸ¦‹

int PAPI_hw_info_t::virtualized

Running in virtual machine β€” the VM vibe check. πŸ’…


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for PAPI from the source code. So yeah, Doxygen wrote this, not a human, and honestly it ate. πŸ€–βœ¨

Version 7.2.0.0 Β· Wed Jun 25 2025 19:30:48 Β· PAPI_hw_info_t(3) β€” that's the source/version and date tea from the footer, bestie. Byeee! πŸ’–πŸ¦‹