Guest User

Untitled

a guest
Jan 22nd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. diff --git a/UnixBench/Run b/UnixBench/Run
  2. index b4abd26..6170481 100755
  3. --- a/UnixBench/Run
  4. +++ b/UnixBench/Run
  5. @@ -831,9 +831,10 @@ sub getSystemInfo {
  6. $info->{'cpus'} = $cpus;
  7. $info->{'numCpus'} = scalar(@$cpus);
  8. }
  9. -
  10. + print "CPUs in /proc/cpuinfo: $info->{numCpus}\n";
  11. # Get available number of CPUs (not disabled CPUs), if possible.
  12. my $numCpus = getNumActiveCpus();
  13. + print "CPUs in getconf: $numCpus\n";
  14. if (defined($numCpus)) {
  15. $info->{'numCpus'} = $numCpus; # overwrite value from getCpuinfo()
  16. }
Add Comment
Please, Sign In to add comment