Class: Libvirt::FFI::Host::NodeInfoStruct

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/libvirt/ffi/host.rb

Overview

struct virNodeInfo

char model[32]   model - string indicating the CPU model
unsigned long   memory - memory size in kilobytes
unsigned int   cpus - the number of active CPUs
unsigned int   mhz - expected CPU frequency, 0 if not known or on unusual architectures
unsigned int   nodes - the number of NUMA cell, 1 for unusual NUMA topologies or uniform memory access;
  check capabilities XML for the actual NUMA topology
unsigned int   sockets - number of CPU sockets per node if nodes > 1, 1 in case of unusual NUMA topology
unsigned int   cores - number of cores per socket, total number of processors in case of unusual NUMA topolog
unsigned int   threads - number of threads per core, 1 in case of unusual numa topology