diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-05-15 17:47:22 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-05-15 17:51:06 +0200 |
| commit | 7da91858ce7959f102a04bca2b2fcfd418e5a7a9 (patch) | |
| tree | 19abc82074f001f85729ff00e8ae6ec0bbaad5d3 /src/benchmarks/dj_trace.py | |
| parent | f63ac8afd8110d3fcea9dd1f7eb2b8175f4ac306 (diff) | |
| download | allocbench-7da91858ce7959f102a04bca2b2fcfd418e5a7a9.tar.gz allocbench-7da91858ce7959f102a04bca2b2fcfd418e5a7a9.zip | |
introduce server concept to Benchmark
A benchmark object can specify a list of cmds to execute as
"servers" in the member attribute server_cmds.
Servers are started and terminated through Popen objects.
This requires the server cmds to not daemonize so the server
can be terminated through the Popen object.
For each started server cmd a shutdown function is registered with
atexit to terminate all servers even if a exception occurs.
Use the new server concept in httpd and mysql benchmarks
Diffstat (limited to 'src/benchmarks/dj_trace.py')
0 files changed, 0 insertions, 0 deletions
