csgillespie / benchmarkme

Crowd sourced benchmarking
https://csgillespie.github.io/benchmarkme/
40 stars 13 forks source link

Units: ×1024 if kB #27

Closed ms609 closed 4 years ago

ms609 commented 4 years ago

I get "MemTotal: 8272424 kB" on my Windows 10 machine, but get_ram() currently reports 8.27 MB. The kB unit is ignored.

This pull request supports the units B, kB and MB.

csgillespie commented 4 years ago

Thanks - this one slipped by me.