mirror of
https://github.com/kdlucas/byte-unixbench.git
synced 2024-12-11 23:30:07 +08:00
A little trick to make Run recongnize the correct CPU cores on ARM machine, and then unixbench will run 1 threads and then multi-threads which is the correct process. Solve the Problem in issue : https://github.com/kdlucas/byte-unixbench/issues/60
github: closes #60 github: closes #61
This commit is contained in:
parent
3d069b2e9c
commit
d9242458ba
@ -713,7 +713,7 @@ sub getCpuInfo {
|
||||
my $model = $val;
|
||||
$model =~ s/ +/ /g;
|
||||
$cpus->[$cpu]{'model'} = $model;
|
||||
} elsif ($field eq "bogomips") {
|
||||
} elsif ($field eq "bogomips" or $field eq "BogoMIPS") {
|
||||
$cpus->[$cpu]{'bogo'} = $val;
|
||||
} elsif ($field eq "flags") {
|
||||
$cpus->[$cpu]{'flags'} = processCpuFlags($val);
|
||||
|
Loading…
Reference in New Issue
Block a user