Skip to content

Commit f19f5b0

Browse files
AparnaR16Viyom
authored andcommitted
Modified n_flow value
1 parent 02371b9 commit f19f5b0

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/aqm-eval-suite/examples/heavy-congestion.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ HeavyCongestion::CreateScenario (std::string aqm, bool isBql)
5757
PointToPointHelper pointToPoint;
5858
pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("1Mbps"));
5959
pointToPoint.SetChannelAttribute ("Delay", StringValue ("48ms"));
60-
uint32_t nflow = 0.114 * 90;
60+
uint32_t nflow = 0.114 * 62;
6161

6262
EvaluationTopology et ("HeavyCongestion", nflow, pointToPoint, aqm, 698, isBql);
6363
for (uint32_t i = 0; i < nflow; i++)

src/aqm-eval-suite/examples/medium-congestion.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ MediumCongestion::CreateScenario (std::string aqm, bool isBql)
5757
PointToPointHelper pointToPoint;
5858
pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("1Mbps"));
5959
pointToPoint.SetChannelAttribute ("Delay", StringValue ("48ms"));
60-
uint32_t nflow = 0.081 * 90;
60+
uint32_t nflow = 0.081 * 62;
6161

6262
EvaluationTopology et ("MediumCongestion", nflow, pointToPoint, aqm, 698, isBql);
6363
for (uint32_t i = 0; i < nflow; i++)

src/aqm-eval-suite/examples/mild-congestion.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ MildCongestion::CreateScenario (std::string aqm, bool isBql)
5757
PointToPointHelper pointToPoint;
5858
pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("1Mbps"));
5959
pointToPoint.SetChannelAttribute ("Delay", StringValue ("45ms"));
60-
uint32_t nflow = 0.036 * 90;
60+
uint32_t nflow = 0.036 * 62;
6161

6262
EvaluationTopology et ("MildCongestion", nflow, pointToPoint, aqm, 698, isBql);
6363
for (uint32_t i = 0; i < nflow; i++)

src/aqm-eval-suite/examples/vary-congestion-level.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ VaryingCongestion::CreateScenario (std::string aqm, bool isBql)
6868
PointToPointHelper pointToPoint;
6969
pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("1Mbps"));
7070
pointToPoint.SetChannelAttribute ("Delay", StringValue ("48ms"));
71-
uint32_t nflow = 0.114 * 90;
71+
uint32_t nflow = 0.114 * 62;
7272

7373
EvaluationTopology et ("VaryingCongestion", nflow, pointToPoint, aqm, 698, isBql);
7474
for (uint32_t i = 0; i < nflow; i++)
@@ -81,7 +81,7 @@ VaryingCongestion::CreateScenario (std::string aqm, bool isBql)
8181

8282
ac.Start (Seconds (0));
8383
ac.Stop (Seconds (300));
84-
if (i > 0.036 * 90 && i < 0.081 * 90)
84+
if (i > 0.036 * 62 && i < 0.081 * 62)
8585
{
8686
Simulator::Schedule (Seconds (40), &VaryingCongestion::PauseApp, this, et, i);
8787
Simulator::Schedule (Seconds (60), &VaryingCongestion::restartApp, this, et, i);
@@ -93,7 +93,7 @@ VaryingCongestion::CreateScenario (std::string aqm, bool isBql)
9393
Simulator::Schedule (Seconds (240), &VaryingCongestion::restartApp, this, et, i);
9494
Simulator::Schedule (Seconds (280), &VaryingCongestion::PauseApp, this, et, i);
9595
}
96-
else if (i > 0.036 * 90 && i < 0.114 * 90)
96+
else if (i > 0.036 * 62 && i < 0.114 * 62)
9797
{
9898
Simulator::Schedule (Seconds (20), &VaryingCongestion::PauseApp, this, et, i);
9999
Simulator::Schedule (Seconds (60), &VaryingCongestion::restartApp, this, et, i);

0 commit comments

Comments
 (0)