| 1 |
#!/bin/bash |
| 2 |
# Copyright 2010-2012 Thomas Schoebel-Theuer / 1&1 Internet AG |
| 3 |
# |
| 4 |
# Copying and distribution of this file, with or without modification, |
| 5 |
# are permitted in any medium without royalty provided the copyright |
| 6 |
# notice and this notice are preserved. This file is offered as-is, |
| 7 |
# without any warranty. |
| 8 |
|
| 9 |
##################################################################### |
| 10 |
|
| 11 |
## defaults for module graph |
| 12 |
## |
| 13 |
## graph: automatically call graph.sh whenever results have been created. |
| 14 |
|
| 15 |
## enable_graph |
| 16 |
## |
| 17 |
## Set to 0 or 1. Enable / disable this module. |
| 18 |
|
| 19 |
enable_graph=1 |
| 20 |
|
| 21 |
## graph_options |
| 22 |
## |
| 23 |
## Commandline options for graph.sh. See documentation. |
| 24 |
|
| 25 |
graph_options="--static --dynamic" |
| 26 |
|
| 27 |
## sequential_mode |
| 28 |
## |
| 29 |
## When set to 1, all the gnuplot commands will run sequentially |
| 30 |
## instead of in parallel. |
| 31 |
## |
| 32 |
## Recommended for large *.replay.gz file, since gnuplot may |
| 33 |
## eat tons of memory (swapping). |
| 34 |
|
| 35 |
sequential_mode=1 |
| 36 |
|
| 37 |
################################################################ |
| 38 |
## |
| 39 |
## The following internal variables may be set to override the default values. |
| 40 |
## Some of them are gnuplot commands / options. Please consult |
| 41 |
## the docs for details. |
| 42 |
|
| 43 |
#picturetype="png" # [ps|jpeg|gif|...] |
| 44 |
#pictureoptions="small size 1200,800" # other values: "size 800,600" etc |
| 45 |
#bad_latency="5.0" # seconds |
| 46 |
#bad_delay="10.0" # seconds |
| 47 |
#bad_ignore="1" # the n'th exceeding the limit |
| 48 |
#ws_list="000 001 006 060 600" # list of workingset window sizes |
| 49 |
#thrp_window=3 # window size for throughput computation |
| 50 |
#turn_window=1 # window size for turn computation |
| 51 |
#smooth_latency_flying_window=1 # window size for smoothing latency.flying |
| 52 |
|
| 53 |
## colors (associative array) |
| 54 |
## Default colors may be overridden. |
| 55 |
## Use RGB values like in HTML/CSS |
| 56 |
|
| 57 |
declare -A color |
| 58 |
|
| 59 |
#color[reads]="#00BFFF" # DeepSkyBlue |
| 60 |
#color[writes]="#FF0000" # red |
| 61 |
#color[r_push]="#00008B" # DarkBlue |
| 62 |
#color[w_push]="#FF1493" # DeepPink |
| 63 |
#color[all]="#CDCD00" # yellow3 |
| 64 |
|
| 65 |
#color[ok]="#00EE00" # green2 |
| 66 |
#color[bad]="#A020F0" # purple |
| 67 |
#color[border]="#000000" # black |
| 68 |
#color[warn]="#B35200" |
| 69 |
#color[fake]="#B35200" |
| 70 |
|
| 71 |
#color[demand]="#00CD00" # green3 |
| 72 |
#color[actual]="#FFA500" # orange1 |
| 73 |
|
| 74 |
#color[000]="#EE0000" # red2 |
| 75 |
#color[001]="#228B22" # ForestGreen |
| 76 |
#color[006]="#0000CD" # MediumBlue |
| 77 |
#color[060]="#CD950C" # DarkGoldenrod3 |