diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-02-15 15:43:31 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-02-15 15:43:31 +0100 |
| commit | 2b9746c966a43aec16e467822d3c79c999f8def8 (patch) | |
| tree | 949b5ca7c3b9a71d1150619382a6961dc9280356 /doc/Benchmarks.md | |
| parent | fa35a5035548bac7a7bcf2a45728534ab47f5a3e (diff) | |
| download | allocbench-2b9746c966a43aec16e467822d3c79c999f8def8.tar.gz allocbench-2b9746c966a43aec16e467822d3c79c999f8def8.zip | |
fix links and use single sane code blocks
Diffstat (limited to 'doc/Benchmarks.md')
| -rw-r--r-- | doc/Benchmarks.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Benchmarks.md b/doc/Benchmarks.md index 7e78947..5320582 100644 --- a/doc/Benchmarks.md +++ b/doc/Benchmarks.md @@ -129,16 +129,16 @@ for number_of_runs #### run hooks -* ```preallocator_hook((alloc_name, alloc_definition), current_run, verbose)``` is called +* `preallocator_hook((alloc_name, alloc_definition), current_run, verbose)` is called if available once per allocator before any command is executed. This hook may be useful if you want to prepare stuff for each allocator. The mysql benchmark uses this hook to start the mysql server with the current allocator. -* ```process_output(result_dict, stdout, stderr, allocator_name, permutation, verbose)``` +* `process_output(result_dict, stdout, stderr, allocator_name, permutation, verbose)` is called after each run of your command. Store relevant data in result_dict to use it for your summary. -* ```postallocator_hook((alloc_name, alloc_definition), current_run, verbose)`` +* `postallocator_hook((alloc_name, alloc_definition), current_run, verbose)` is called after all permutations are done for the current allocator. The mysql benchmark uses this hook to terminate the in preallocator_hook started mysql server. |
