A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge the two wifi platform files
[simgrid.git]
/
teshsuite
/
surf
/
wifi_usage
/
2STA.cpp
diff --git
a/teshsuite/surf/wifi_usage/2STA.cpp
b/teshsuite/surf/wifi_usage/2STA.cpp
index
a8d1dbe
..
1ac77c1
100644
(file)
--- a/
teshsuite/surf/wifi_usage/2STA.cpp
+++ b/
teshsuite/surf/wifi_usage/2STA.cpp
@@
-46,14
+46,14
@@
void setup_simulation()
{
std::vector<std::string> args, noArgs;
- args.push_back("S
TA
2");
+ args.push_back("S
tation
2");
args.push_back("1000");
- simgrid::s4u::Actor::create("
STA1", simgrid::s4u::Host::by_name("STA
1"), flowActor, args);
- simgrid::s4u::Actor::create("
STA2", simgrid::s4u::Host::by_name("STA
2"), flowActor, noArgs);
+ simgrid::s4u::Actor::create("
sender", simgrid::s4u::Host::by_name("Station
1"), flowActor, args);
+ simgrid::s4u::Actor::create("
receiver", simgrid::s4u::Host::by_name("Station
2"), flowActor, noArgs);
simgrid::kernel::resource::NetworkWifiLink* l =
(simgrid::kernel::resource::NetworkWifiLink*)simgrid::s4u::Link::by_name("AP1")->get_impl();
- l->set_host_rate(simgrid::s4u::Host::by_name("S
TA
1"), 0);
- l->set_host_rate(simgrid::s4u::Host::by_name("S
TA
2"), 0);
+ l->set_host_rate(simgrid::s4u::Host::by_name("S
tation
1"), 0);
+ l->set_host_rate(simgrid::s4u::Host::by_name("S
tation
2"), 0);
}
static void flowActor(std::vector<std::string> args)