diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-21 18:09:36 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-21 18:09:36 +0200 |
| commit | c50e3779435d16a9176b5655aca1a652fddd0ed7 (patch) | |
| tree | 929e48f3280e156541919477dba048b522409503 /src/benchmarks/nop.py | |
| parent | 3358e8204627bfba994abe989ea4119fe033fca9 (diff) | |
| download | allocbench-nop.tar.gz allocbench-nop.zip | |
add debugging benchmark nopnop
Diffstat (limited to 'src/benchmarks/nop.py')
| -rw-r--r-- | src/benchmarks/nop.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/benchmarks/nop.py b/src/benchmarks/nop.py new file mode 100644 index 0000000..c8e3712 --- /dev/null +++ b/src/benchmarks/nop.py @@ -0,0 +1,20 @@ +from src.benchmark import Benchmark + + +class Benchmark_NOP(Benchmark): + def __init__(self): + self.name = "nop" + self.descrition = """This benchmark does nothing for debugging only.""" + + self.cmd = "sleep {tts}" + self.requirements = ["sleep"] + + self.args = {"tts": [1]} + + super().__init__() + + def summary(self): + pass + + +nop = Benchmark_NOP() |
