diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/Allocators.md | 2 | ||||
| -rw-r--r-- | doc/Benchmarks.md | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/Allocators.md b/doc/Allocators.md index 30d4abc..3148c45 100644 --- a/doc/Allocators.md +++ b/doc/Allocators.md @@ -40,4 +40,4 @@ To reproducible build allocators and patched version you can use the classes `Allocator` and `Allocator_Sources` provided in `src/allocator.py`. See [allocators/no_falsesharing.py](allocators/no_falsesharing.py) or -[allocators/BA_allocators.py](allocators/BA_allocators.py) for examples. +[allocators/ba_allocators.py](allocators/ba_allocators.py) for examples. diff --git a/doc/Benchmarks.md b/doc/Benchmarks.md index e883afb..e8add89 100644 --- a/doc/Benchmarks.md +++ b/doc/Benchmarks.md @@ -46,9 +46,9 @@ Delorie using the tools from dj/malloc branch of the glibc. 1. Make sure your command is deterministic and allocator behavior is a significant part of your measured results 2. Create a new Python class for your benchmark. You can inherit from the - provided class src.Benchmark. + provided class allocbench.Benchmark. 3. Implement your custom functionality -4. Export a object of your class in a python file under src/benchmarks named +4. Export a object of your class in a python file under allocbench/benchmarks named like your exported object and allocbench will find it automatically. #### loop.py as Example @@ -73,7 +73,7 @@ Delorie using the tools from dj/malloc branch of the glibc. """Definition of the loop micro benchmark""" -from src.benchmark import Benchmark +from allocbench.benchmark import Benchmark class BenchmarkLoop(Benchmark): @@ -129,7 +129,7 @@ loop = BenchmarkLoop() ## The Benchmark class -The class Benchmark defined in the src/benchmark.py implements most +The class Benchmark defined in the allocbench/benchmark.py implements most common operations for a benchmark. It provides load and save functions using pythons pickle module, helpers generating plots using matplotlib and most importantly a run method using |
