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
move the simcall template to the kernel::actor namespace
[simgrid.git]
/
src
/
s4u
/
s4u_Link.cpp
diff --git
a/src/s4u/s4u_Link.cpp
b/src/s4u/s4u_Link.cpp
index
866436c
..
4fecbd4
100644
(file)
--- a/
src/s4u/s4u_Link.cpp
+++ b/
src/s4u/s4u_Link.cpp
@@
-71,11
+71,11
@@
double Link::get_usage()
void Link::turn_on()
{
void Link::turn_on()
{
- simgrid::
simix
::simcall([this]() { this->pimpl_->turn_on(); });
+ simgrid::
kernel::actor
::simcall([this]() { this->pimpl_->turn_on(); });
}
void Link::turn_off()
{
}
void Link::turn_off()
{
- simgrid::
simix
::simcall([this]() { this->pimpl_->turn_off(); });
+ simgrid::
kernel::actor
::simcall([this]() { this->pimpl_->turn_off(); });
}
bool Link::is_on() const
}
bool Link::is_on() const
@@
-89,20
+89,20
@@
void* Link::get_data()
}
void Link::set_data(void* d)
{
}
void Link::set_data(void* d)
{
- simgrid::
simix
::simcall([this, d]() { this->pimpl_->set_data(d); });
+ simgrid::
kernel::actor
::simcall([this, d]() { this->pimpl_->set_data(d); });
}
void Link::set_state_profile(kernel::profile::Profile* profile)
{
}
void Link::set_state_profile(kernel::profile::Profile* profile)
{
- simgrid::
simix
::simcall([this, profile]() { this->pimpl_->set_state_profile(profile); });
+ simgrid::
kernel::actor
::simcall([this, profile]() { this->pimpl_->set_state_profile(profile); });
}
void Link::set_bandwidth_profile(kernel::profile::Profile* profile)
{
}
void Link::set_bandwidth_profile(kernel::profile::Profile* profile)
{
- simgrid::
simix
::simcall([this, profile]() { this->pimpl_->set_bandwidth_profile(profile); });
+ simgrid::
kernel::actor
::simcall([this, profile]() { this->pimpl_->set_bandwidth_profile(profile); });
}
void Link::set_latency_profile(kernel::profile::Profile* trace)
{
}
void Link::set_latency_profile(kernel::profile::Profile* trace)
{
- simgrid::
simix
::simcall([this, trace]() { this->pimpl_->set_latency_profile(trace); });
+ simgrid::
kernel::actor
::simcall([this, trace]() { this->pimpl_->set_latency_profile(trace); });
}
const char* Link::get_property(const std::string& key) const
}
const char* Link::get_property(const std::string& key) const
@@
-111,7
+111,7
@@
const char* Link::get_property(const std::string& key) const
}
void Link::set_property(const std::string& key, const std::string& value)
{
}
void Link::set_property(const std::string& key, const std::string& value)
{
- simgrid::
simix
::simcall([this, &key, &value] { this->pimpl_->set_property(key, value); });
+ simgrid::
kernel::actor
::simcall([this, &key, &value] { this->pimpl_->set_property(key, value); });
}
} // namespace s4u
} // namespace simgrid
}
} // namespace s4u
} // namespace simgrid