From 1ce54f5e5977a3bda36c66ba4417a2bc48d6b76c Mon Sep 17 00:00:00 2001 From: Guillaume DIDIER Date: Tue, 4 Aug 2020 15:06:00 +0200 Subject: [PATCH] Fix naming of stats file --- cache_utils/2T-opt-2020-07-31/analyse_csv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cache_utils/2T-opt-2020-07-31/analyse_csv.py b/cache_utils/2T-opt-2020-07-31/analyse_csv.py index 78fd7e5..6a3d70a 100644 --- a/cache_utils/2T-opt-2020-07-31/analyse_csv.py +++ b/cache_utils/2T-opt-2020-07-31/analyse_csv.py @@ -15,7 +15,7 @@ def convert64(x): def convert8(x): return np.int8(int(x, base=16)) -df = pd.read_csv(sys.argv[1], +df = pd.read_csv(sys.argv[1] + "-result_lite.csv.bz2", dtype={ "main_core": np.int8, "helper_core": np.int8, @@ -122,7 +122,7 @@ stats["clflush_remote_hit"] = hit_remote.values stats["clflush_local_hit_n"] = hit_local.values stats["clflush_shared_hit"] = hit_shared.values -stats.to_csv(sys.argv[1] + ".stats", index=False) +stats.to_csv(sys.argv[1] + ".stats.csv", index=False) print(stats.to_string())