Created
January 21, 2019 22:20
-
-
Save MartijnBraam/391e38f8a7c23b80cebd3fc0c00899c9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/UnixBench/Run b/UnixBench/Run | |
index b4abd26..6170481 100755 | |
--- a/UnixBench/Run | |
+++ b/UnixBench/Run | |
@@ -831,9 +831,10 @@ sub getSystemInfo { | |
$info->{'cpus'} = $cpus; | |
$info->{'numCpus'} = scalar(@$cpus); | |
} | |
- | |
+ print "CPUs in /proc/cpuinfo: $info->{numCpus}\n"; | |
# Get available number of CPUs (not disabled CPUs), if possible. | |
my $numCpus = getNumActiveCpus(); | |
+ print "CPUs in getconf: $numCpus\n"; | |
if (defined($numCpus)) { | |
$info->{'numCpus'} = $numCpus; # overwrite value from getCpuinfo() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment