Class: FFI::Libvirt::NodeInfo
- Inherits:
-
Struct
- Object
- Struct
- FFI::Libvirt::NodeInfo
- Defined in:
- lib/ffi/libvirt/node_info.rb
Overview
virNodeInfo structure, used to represent a node which libvirt is running on.
struct _virNodeInfo { char model[32]; /* 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 / unsigned int nodes; / the number of NUMA cell, 1 for uniform mem access / unsigned int sockets;/ number of CPU socket per node / unsigned int cores; / number of core per socket / unsigned int threads;/ number of threads per core */ };