Adding gem5 source to svn.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1819 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
22
simulators/gem5/configs/boot/netperf-stream-udp-local.rcS
Normal file
22
simulators/gem5/configs/boot/netperf-stream-udp-local.rcS
Normal file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
SERVER=127.0.0.1
|
||||
CLIENT=127.0.0.1
|
||||
|
||||
echo "setting up network..."
|
||||
ifconfig lo 127.0.0.1
|
||||
|
||||
BINARY=/benchmarks/netperf-bin/netperf
|
||||
TEST="UDP_STREAM"
|
||||
SHORT_ARGS="-l 2 -- -m 4096"
|
||||
|
||||
echo "running netserver..."
|
||||
/benchmarks/netperf-bin/netserver
|
||||
|
||||
|
||||
SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
|
||||
|
||||
echo "starting test..."
|
||||
echo $SHORT
|
||||
eval $SHORT
|
||||
|
||||
/sbin/m5 exit
|
||||
Reference in New Issue
Block a user