one-core-peak: Avoid reporting Unknown memory speed
authorErwan Velu <e.velu@criteo.com>
Sat, 25 Sep 2021 21:49:12 +0000 (23:49 +0200)
committerErwan Velu <e.velu@criteo.com>
Sat, 25 Sep 2021 21:49:12 +0000 (23:49 +0200)
commitacd7702eecdcf6e90974a3410e4e1df753a8620a
tree4594ae60dc7949da8b12a67f7d2b5f46ebfaa769
parent0b2114e7b46d047271d8d404beaae7006e89f8ef
one-core-peak: Avoid reporting Unknown memory speed

Some BIOSes, reports the configured mem speed to unknown making the report useless.
Adding a match on a real speed to avoid this.

Before: system: MEMORY: Unknown
After:  system: MEMORY: 3466 MT/s

Signed-off-by: Erwan Velu <e.velu@criteo.com>
t/one-core-peak.sh