diff options
author | Wade Fife <wade.fife@ettus.com> | 2022-01-27 11:07:44 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-02-03 14:21:31 -0600 |
commit | 929d620bc2ccb0cabf398c9224432be25685d2f4 (patch) | |
tree | 82d09fe8c0afbf8f21047c9a836c25df48195d44 /mpm/python/usrp_mpm | |
parent | d2374c6ad67f94fa577d28d5660f32579f4775cc (diff) | |
download | uhd-929d620bc2ccb0cabf398c9224432be25685d2f4.tar.gz uhd-929d620bc2ccb0cabf398c9224432be25685d2f4.tar.bz2 uhd-929d620bc2ccb0cabf398c9224432be25685d2f4.zip |
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.
Diffstat (limited to 'mpm/python/usrp_mpm')
-rw-r--r-- | mpm/python/usrp_mpm/bist.py | 2 |
1 files changed, 1 insertions, 1 deletions
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<thrup>[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, |