solaris cpu socket+core counts

This commit is contained in:
Doug MacEachern committed 2008-04-09 05:08:52 +00:00
1 parent 187df2f462
commit 56b8e9e6a3
2 files changed
+15 -1

No files matched your search

@@ -40,6 +40,7 @@ public class TestCpuInfo extends SigarTestCase {
traceln("model=" + info.getModel());
traceln("mhz=" + info.getMhz());
traceln("cache size=" + info.getCacheSize());
assertTrue(info.getTotalSockets() <= info.getTotalCores());
}
int mhz = infos[0].getMhz();