Commit abd44540 authored by shengjh's avatar shengjh 🇨🇳
Browse files

--

parent a6d6d01d
......@@ -6,6 +6,11 @@
<project>inet</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.python.pydev.PyDevBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.omnetpp.cdt.MakefileBuilder</name>
<arguments>
......@@ -35,5 +40,6 @@
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
<nature>org.omnetpp.main.omnetppnature</nature>
<nature>org.python.pydev.pythonNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python interpreter</pydev_property>
</pydev_project>
......@@ -60,8 +60,8 @@ dcn.isFabricCutThrough = false
*.host[*].numTrafficGeneratorApp = 1
**.host[*].app[0].destAddresses = moduleListByPath("**.host[*]")
**.realLoadFactor = 0.3
**.host[*].**.workloadType = "FACEBOOK_KEY_VALUE"
**.host[*].app[*].msgSizeRanges = "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 20 22 25 28 31 35 39 44 49 55 61 68 76 85 95 107 119 133 149 167 186 208 233 260 291 325 364 406 454 508 568 635 710 794 887 992 1109 1240 1386 1550 1733 1937 2166 2421 2707 3027 3384 3783 4229 4729 5286 5910 6608 7388 8259 9234 10324 11542 12904 16129 25198 49208 96093 293173 572511 1000000"
**.host[*].**.workloadType = "DCTCP"
**.host[*].app[*].msgSizeRanges = "1442 2884 4326 5768 7210 8652 10094 11536 12978 15862 17304 18746 21630 23072 24514 25956 27398 28840 31724 34608 36050 37492 40376 41818 44702 46144 47586 50470 53354 54796 57680 59122 62006 63448 66332 67774 70658 72100 74984 76426 93730 109592 126896 142758 160062 175924 191786 269654 346080 423948 500374 576800 654668 731094 808962 885388 961814 1058428 1155042 1250214 1346828 1442000 1538614 1635228 1730400 1827014 1922186 2210586 2498986 2787386 3075786 3364186 3652586 3940986 4229386 4517786 4806186 11537442 13459628 15381814 17305442 19227628 21149814 23073442 24995628 26917814 28840000"
**.host[*].app[*].loadFactor = 0.3*.657
**.host[*].app[*].interArrivalDist = "exponential"
**.host[*].app[*].startTime = 0s
......
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//
#include "TestSynthesizer.h"
TestSynthesizer::TestSynthesizer() {
// TODO Auto-generated constructor stub
}
TestSynthesizer::~TestSynthesizer() {
// TODO Auto-generated destructor stub
}
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//
#ifndef DCTRANS_APPLICATIONS_TESTSYNTHESIZER_H_
#define DCTRANS_APPLICATIONS_TESTSYNTHESIZER_H_
class TestSynthesizer {
public:
TestSynthesizer();
virtual ~TestSynthesizer();
};
#endif /* DCTRANS_APPLICATIONS_TESTSYNTHESIZER_H_ */
......@@ -167,7 +167,7 @@ void WorkloadSynthesizer::initialize(int stage)
if (strcmp(workLoadType, "DCTCP") == 0) {
distSelector = MsgSizeDistributions::DistributionChoice::DCTCP;
distFileName = std::string(
"../../sizeDistributions/DCTCP_MsgSizeDist.txt");
"../sizeDistributions/DCTCP_MsgSizeDist.txt");
} else if (strcmp(workLoadType, "TEST_DIST") == 0) {
distSelector = MsgSizeDistributions::DistributionChoice::TEST_DIST;
distFileName = std::string(
......
......@@ -32,7 +32,7 @@ module HomaHost extends LinkLayerNodeBase
{
parameters:
@display("i=device/pc2");
@figure[submodules]; //add this so that can look into submodules like ethernet
@figure[submodules]; //add this so that we can look into submodules like ethernet
xml hostConfig;
int nicLinkSpeed @unit(Gbps);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment