limited sim time in some LTE examples-to-run
This commit is contained in:
@@ -42,12 +42,13 @@ int main (int argc, char *argv[])
|
||||
double enbDist = 100.0;
|
||||
double radius = 50.0;
|
||||
uint32_t numUes = 1;
|
||||
|
||||
double simTime = 1.0;
|
||||
|
||||
CommandLine cmd;
|
||||
cmd.AddValue ("enbDist", "distance between the two eNBs", enbDist);
|
||||
cmd.AddValue ("radius", "the radius of the disc where UEs are placed around an eNB", radius);
|
||||
cmd.AddValue ("numUes", "how many UEs are attached to each eNB", numUes);
|
||||
cmd.AddValue ("simTime", "Total duration of the simulation (in seconds)", simTime);
|
||||
cmd.Parse (argc, argv);
|
||||
|
||||
ConfigStore inputConfig;
|
||||
@@ -126,7 +127,7 @@ int main (int argc, char *argv[])
|
||||
lteHelper->ActivateDataRadioBearer (ueDevs1, bearer);
|
||||
lteHelper->ActivateDataRadioBearer (ueDevs2, bearer);
|
||||
|
||||
Simulator::Stop (Seconds (10));
|
||||
Simulator::Stop (Seconds (simTime));
|
||||
|
||||
// Insert RLC Performance Calculator
|
||||
std::string dlOutFname = "DlRlcStats";
|
||||
|
||||
@@ -21,11 +21,11 @@ cpp_examples = [
|
||||
("lena-dual-stripe --nMacroEnbSites=0 --macroUeDensity=0 --nBlocks=1 --nApartmentsX=4 --nMacroEnbSitesX=0 --homeEnbDeploymentRatio=1 --homeEnbActivationRatio=1 --macroEnbTxPowerDbm=0 --epcDl=1 --epcUl=0 --epc=1 --numBearersPerUe=4 --homeUesHomeEnbRatio=15 --simTime=0.01", "True", "True"),
|
||||
("lena-fading", "True", "True"),
|
||||
("lena-gtpu-tunnel", "True", "True"),
|
||||
("lena-intercell-interference", "True", "True"),
|
||||
("lena-intercell-interference --simTime=0.1", "True", "True"),
|
||||
("lena-pathloss-traces", "True", "True"),
|
||||
("lena-profiling", "True", "True"),
|
||||
("lena-profiling --simTime=1.0 --nUe=2 --nEnb=5 --nFloors=0", "True", "True"),
|
||||
("lena-profiling --simTime=1.0 --nUe=3 --nEnb=6 --nFloors=1", "True", "True"),
|
||||
("lena-profiling --simTime=0.1 --nUe=2 --nEnb=5 --nFloors=0", "True", "True"),
|
||||
("lena-profiling --simTime=0.1 --nUe=3 --nEnb=6 --nFloors=1", "True", "True"),
|
||||
("lena-rlc-traces", "True", "True"),
|
||||
("lena-rem", "True", "True"),
|
||||
("lena-rem-sector-antenna", "True", "True"),
|
||||
|
||||
Reference in New Issue
Block a user