aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/benchmarks/__init__.py0
-rw-r--r--src/benchmarks/dj_trace.py (renamed from src/dj_trace.py)0
-rw-r--r--src/benchmarks/falsesharing.py (renamed from src/falsesharing.py)0
-rw-r--r--src/benchmarks/larson.py (renamed from src/larson.py)0
-rw-r--r--src/benchmarks/loop.py (renamed from src/loop.py)4
-rw-r--r--src/benchmarks/mysql.py (renamed from src/mysql.py)0
6 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmarks/__init__.py b/src/benchmarks/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/benchmarks/__init__.py
diff --git a/src/dj_trace.py b/src/benchmarks/dj_trace.py
index 062f34c..062f34c 100644
--- a/src/dj_trace.py
+++ b/src/benchmarks/dj_trace.py
diff --git a/src/falsesharing.py b/src/benchmarks/falsesharing.py
index f6375a6..f6375a6 100644
--- a/src/falsesharing.py
+++ b/src/benchmarks/falsesharing.py
diff --git a/src/larson.py b/src/benchmarks/larson.py
index e070b7b..e070b7b 100644
--- a/src/larson.py
+++ b/src/benchmarks/larson.py
diff --git a/src/loop.py b/src/benchmarks/loop.py
index a8459da..4683549 100644
--- a/src/loop.py
+++ b/src/benchmarks/loop.py
@@ -17,7 +17,7 @@ class Benchmark_Loop(Benchmark):
def summary(self):
# Speed
- self.plot_fixed_arg("perm.nthreads / (float({task-clock})/1000)",
+ self.plot_fixed_arg("perm.nthreads / ({task-clock}/1000)",
ylabel='"MOPS/cpu-second"',
title='"Loop: " + arg + " " + str(arg_value)',
filepostfix="time")
@@ -29,7 +29,7 @@ class Benchmark_Loop(Benchmark):
filepostfix="l1misses")
# Speed Matrix
- self.write_best_doublearg_tex_table("perm.nthreads / (float({task-clock})/1000)",
+ self.write_best_doublearg_tex_table("perm.nthreads / ({task-clock}/1000)",
filepostfix="memusage.matrix")
diff --git a/src/mysql.py b/src/benchmarks/mysql.py
index e3f1f0f..e3f1f0f 100644
--- a/src/mysql.py
+++ b/src/benchmarks/mysql.py