diff options
author | Friedemann Kleint <[email protected]> | 2017-10-13 16:35:40 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2017-10-13 16:35:52 +0200 |
commit | bd0c77f81fcc66e2cd57d78123bd1ea5ece3cb28 (patch) | |
tree | 757aebd9db2e1198f3c1d5bacbddfb25a45c8a3c /examples/charts/memoryusage.py | |
parent | 29bf933c9244883b570a9d53e900415fdcf7d437 (diff) | |
parent | b43152d1708b51f7d5c62c7a249c776354f745f5 (diff) |
Change-Id: I7f2e832b6642d84028a2a2fb39c6ac896136b7c3
Diffstat (limited to 'examples/charts/memoryusage.py')
-rw-r--r-- | examples/charts/memoryusage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/charts/memoryusage.py b/examples/charts/memoryusage.py index 5842e4c..c0e0a38 100644 --- a/examples/charts/memoryusage.py +++ b/examples/charts/memoryusage.py @@ -66,7 +66,7 @@ def getMemoryUsage(): command = line[0:23].strip() if command.endswith('.exe'): command = command[0:len(command) - 4] - memoryUsage = float(line[64:74].strip().replace(',', '')) + memoryUsage = float(line[64:74].strip().replace(',', '').replace('.', '')) legend = '' if memoryUsage > 10240: legend = '{} {}M'.format(command, round(memoryUsage / 1024)) |