-
Notifications
You must be signed in to change notification settings - Fork 18
/
run-valgrind.sh
executable file
·48 lines (45 loc) · 2.5 KB
/
run-valgrind.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
#set -x
N=1 # number of simulations
enableTraces=1 # enable generation of ns-3 traces
e2lteEnabled=1 # enable e2 reports from lte macro cell
e2nrEnabled=1 # enable e2 reports from nr secondary cells
e2du=1 # enable reporting of DU PM containers
e2cuUp=1 # enable reporting of CU UP PM containers
e2cuCp=1 # enable reporting of CU CP PM containers
trafficModel=0 # Type of the traffic model at the transport layer [0,2], can generate full buffer traffic (0), half nodes in full buffer and half nodes in bursty (1), bursty traffic (2)
configuration=1 # 0: NR carrier at 850 MHz, low traffic | 1: NR carrier at 3.5 GHz, low traffic | 2: NR carrier at 28 GHz, high traffic
minSpeed=2.0 # minimum UE speed in m/s
maxSpeed=4.0 # maximum UE speed in m/s
simTime=0.3 # simulation time
e2TermIp="10.244.0.240" # actual E2term IP interface
basicCellId=1 # The next value will be the first cellId
ues=3 # Number of UEs for each mmWave ENB
reducedPmValues=0 # use reduced subset of pmValues
EnableE2FileLogging=0 # enable offline generation of data
# Remove NoAuto on handover and Outage Threshold to use the Dynamic TTI HO
outageThreshold=-1000.0 # use -5.0 when handover is not in NoAuto
handoverMode="NoAuto" # can be also
#for i in $(seq 1 $N); do
# echo "Running simulation $i out of $N";
./waf --command-template="valgrind --leak-check=full --show-reachable=yes --track-origins=yes %s --RngRun=1 \
--configuration=$configuration \
--trafficModel=$trafficModel \
--enableTraces=$enableTraces \
--e2lteEnabled=$e2lteEnabled \
--e2nrEnabled=$e2nrEnabled \
--e2du=$e2du \
--simTime=$simTime \
--outageThreshold=$outageThreshold \
--handoverMode=$handoverMode \
--basicCellId=$basicCellId \
--e2cuUp=$e2cuUp \
--e2cuCp=$e2cuCp \
--ues=$ues \
--reducedPmValues=$reducedPmValues \
--e2TermIp=$e2TermIp \
--enableE2FileLogging=$EnableE2FileLogging \
--minSpeed=$minSpeed \
--maxSpeed=$maxSpeed" --run scenario-one
#sleep 1;
#done