///
<summary> /// Structure to handle node informations /// </summary>[
StructLayout(LayoutKind.Sequential)] public class NodeInfo{
/// <summary> /// String indicating the CPU model. /// </summary>[
MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] public string model; /// <summary> /// Memory size in kilobytes /// </summary>[
MarshalAs(UnmanagedType.SysUInt)] public UIntPtr memory; /// <summary> /// The number of active CPUs. /// </summary>[
MarshalAs(UnmanagedType.SysUInt)] public UIntPtr cpus; /// <summary> /// Expected CPU frequency. /// </summary>[
MarshalAs(UnmanagedType.SysUInt)] public UIntPtr mhz; /// <summary> /// The number of NUMA cell, 1 for uniform mem access. /// </summary>[
MarshalAs(UnmanagedType.SysUInt)] public UIntPtr nodes; /// <summary> /// Number of CPU socket per node. /// </summary>[
MarshalAs(UnmanagedType.SysUInt)] public UIntPtr sockets; /// <summary> /// Number of core per socket. /// </summary>[
MarshalAs(UnmanagedType.SysUInt)] public UIntPtr cores; /// <summary> /// Number of threads per core. /// </summary>[
MarshalAs(UnmanagedType.SysUInt)] public UIntPtr threads;}
I will put it in next patches.
Cheers,
Arnaud