From 929d620bc2ccb0cabf398c9224432be25685d2f4 Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Thu, 27 Jan 2022 11:07:44 -0600 Subject: mpm: Fix units for DRAM BIST There was a mixture of KB/s and B/s in the DRAM BIST. The BIST now returns B/s in all cases. --- mpm/python/usrp_mpm/bist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/python/usrp_mpm') diff --git a/mpm/python/usrp_mpm/bist.py b/mpm/python/usrp_mpm/bist.py index 6a7886515..c5e2ad9db 100644 --- a/mpm/python/usrp_mpm/bist.py +++ b/mpm/python/usrp_mpm/bist.py @@ -305,7 +305,7 @@ def test_ddr3_with_usrp_probe(extra_args=None): } mobj = re.search(r"Throughput: (?P[0-9.]+)\s?MB", output) if mobj is not None: - return {'throughput': float(mobj.group('thrup')) * 1000} + return {'throughput': float(mobj.group('thrup')) * 1e6} else: return { 'throughput': 0, -- cgit v1.2.3