From 2d58fa5dda50d9aaafd3171acf02fe2b54c37dee Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 15 Jan 2019 16:37:53 +0100 Subject: move falsesharing.py to src/ --- src/falsesharing.py | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 src/falsesharing.py (limited to 'src/falsesharing.py') diff --git a/src/falsesharing.py b/src/falsesharing.py new file mode 100644 index 0000000..1e0ef18 --- /dev/null +++ b/src/falsesharing.py @@ -0,0 +1,76 @@ +import matplotlib.pyplot as plt +import multiprocessing +import numpy as np +import os +import re + +from src.benchmark import Benchmark + +time_re = re.compile("^Time elapsed = (?P