Last change
on this file since 20 was
15,
checked in by tim, 9 years ago
|
.
|
-
Property svn:executable set to
*
|
File size:
583 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | BINARY=bin/sampler |
---|
4 | |
---|
5 | BASEPATH=$1 |
---|
6 | shift |
---|
7 | RUNSIZE=$1 |
---|
8 | shift |
---|
9 | HOST=$1 |
---|
10 | shift |
---|
11 | PORT=$1 |
---|
12 | shift |
---|
13 | DELTAS=$@ |
---|
14 | |
---|
15 | BASE_DELTA=20000 |
---|
16 | |
---|
17 | for D in $DELTAS; do |
---|
18 | { |
---|
19 | |
---|
20 | OUTPUT=`printf "${BASEPATH}_d%0.6d" $D` |
---|
21 | CASES="{\"short\":$BASE_DELTA,\"long\":$(($BASE_DELTA+$D))}" |
---|
22 | #echo "Running:" taskset -c 1 ./sampler.py -c "$CASES" "$OUTPUT" "$RUNSIZE" "$HOST" "$PORT" |
---|
23 | #taskset -c 1 ./sampler.py -c "$CASES" "$OUTPUT" "$RUNSIZE" "$HOST" "$PORT" |
---|
24 | echo "Running:" "$BINARY" -c "$CASES" "$OUTPUT" "$RUNSIZE" "$HOST" "$PORT" |
---|
25 | $BINARY -c "$CASES" "$OUTPUT" "$RUNSIZE" "$HOST" "$PORT" |
---|
26 | } done |
---|
Note: See
TracBrowser
for help on using the repository browser.