diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2018-07-23 19:13:41 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2018-07-23 19:13:41 +0200 |
| commit | 3d2103cc95bb1b01dfcb4bbe524e6715b3d4686f (patch) | |
| tree | a8cf4f51005776c2c785eef60759041b80398341 /mysql.py | |
| parent | cf9ba4a77869845a73d2febf49d36f35aa9c6c3c (diff) | |
| download | allocbench-3d2103cc95bb1b01dfcb4bbe524e6715b3d4686f.tar.gz allocbench-3d2103cc95bb1b01dfcb4bbe524e6715b3d4686f.zip | |
fix mysql footprint again
Diffstat (limited to 'mysql.py')
| -rw-r--r-- | mysql.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -221,8 +221,8 @@ class Benchmark_MYSQL( Benchmark ): vsz_growth = [] rss_growth = [] for m in measures: - vsz_growth.append(m["VSZ_start"] - m["VSZ_end"]) - rss_growth.append(m["RSS_start"] - m["RSS_end"]) + vsz_growth.append(int(m["VSZ_end"]) - int(m["VSZ_start"])) + rss_growth.append(int(m["RSS_end"]) - int(m["RSS_start"])) print(target, "memory footprint:") print("\t avg vsz growth:", np.mean(vsz_growth)) print("\t avg rss growth:", np.mean(rss_growth)) |
