예제 #1
0
 internal CpuInformation(uv_cpu_info_t *info)
 {
     Name  = Marshal.PtrToStringAnsi(info->model);
     Speed = info->speed;
     Times = new CpuTimes(info->cpu_times);
 }
예제 #2
0
 internal CpuInformation(uv_cpu_info_t *info)
 {
     Name = Marshal.PtrToStringAnsi(info->model);
     Speed = info->speed;
     Times = new CpuTimes(info->cpu_times);
 }