Commit 1593fe37 authored by Joanne Hugé's avatar Joanne Hugé

Allow displaying timestamps without enabling histograms in wrapper script

parent bd13db96
......@@ -3,7 +3,7 @@
script_dir=$(dirname $(realpath $0))
usage() {
echo "Usage: $0 (-e delta [-o etf_offset] | -p) [-bg] [-i INTERVAL] [-d TX_BUFFER_LEN] [emerald|slate|onyx]" 1>&2;
echo "Usage: $0 (-e delta [-o etf_offset] | -p) [-bgt] [-i INTERVAL] [-d TX_BUFFER_LEN] [emerald|slate|onyx]" 1>&2;
exit 1;
}
......@@ -16,7 +16,7 @@ qdisc_options=""
ip="192.168.99."
etf_offset=500
while getopts "bd:e:o:ghi:p" opt; do
while getopts "bd:e:o:ghi:pt" opt; do
case "${opt}" in
b )
client_options+=" -b"
......@@ -33,7 +33,7 @@ while getopts "bd:e:o:ghi:p" opt; do
etf_offset=${OPTARG}
;;
g )
client_options+=" -g -t"
client_options+=" -g"
use_histogram=1
;;
h )
......@@ -48,6 +48,9 @@ while getopts "bd:e:o:ghi:p" opt; do
client_options+=" -q 1"
qdisc_options+="-p"
;;
t )
client_options+=" -t"
;;
* )
usage
;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment