add cpu_info.cores_per_socket

This commit is contained in:
Doug MacEachern committed 2008-04-11 17:46:36 +00:00
1 parent e4c00a7b92
commit 51b607866f
9 files changed
+17 -4

No files matched your search

+1
View File
@@ -2132,6 +2132,7 @@ int sigar_cpu_info_list_get(sigar_t *sigar,
info->mhz = mhz;
info->cache_size = cache_size;
info->total_cores = sigar->ncpu;
info->cores_per_socket = sigar->lcpu;
info->total_sockets = sigar_cpu_socket_count(sigar);
}