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
tend to the google coding standards in all S4U API
[simgrid.git]
/
src
/
s4u
/
s4u_actor.cpp
diff --git
a/src/s4u/s4u_actor.cpp
b/src/s4u/s4u_actor.cpp
index
81d3323
..
b8c5c27
100644
(file)
--- a/
src/s4u/s4u_actor.cpp
+++ b/
src/s4u/s4u_actor.cpp
@@
-75,7
+75,7
@@
void Actor::migrate(Host* new_host)
simgrid::simix::kernelImmediate([this, new_host]() { pimpl_->new_host = new_host; });
}
simgrid::simix::kernelImmediate([this, new_host]() { pimpl_->new_host = new_host; });
}
-s4u::Host* Actor::
h
ost()
+s4u::Host* Actor::
getH
ost()
{
return this->pimpl_->host;
}
{
return this->pimpl_->host;
}
@@
-85,22
+85,22
@@
void Actor::daemonize()
simgrid::simix::kernelImmediate([this]() { pimpl_->daemonize(); });
}
simgrid::simix::kernelImmediate([this]() { pimpl_->daemonize(); });
}
-const char* Actor::
c
name()
+const char* Actor::
getC
name()
{
return this->pimpl_->name.c_str();
}
{
return this->pimpl_->name.c_str();
}
-simgrid::xbt::string Actor::
n
ame()
+simgrid::xbt::string Actor::
getN
ame()
{
return this->pimpl_->name;
}
{
return this->pimpl_->name;
}
-aid_t Actor::
p
id()
+aid_t Actor::
getP
id()
{
return this->pimpl_->pid;
}
{
return this->pimpl_->pid;
}
-aid_t Actor::
p
pid()
+aid_t Actor::
getP
pid()
{
return this->pimpl_->ppid;
}
{
return this->pimpl_->ppid;
}
@@
-125,7
+125,7
@@
void Actor::setKillTime(double time) {
}
/** \brief Get the kill time of an actor(or 0 if unset). */
}
/** \brief Get the kill time of an actor(or 0 if unset). */
-double Actor::
k
illTime()
+double Actor::
getK
illTime()
{
return SIMIX_timer_get_date(pimpl_->kill_timer);
}
{
return SIMIX_timer_get_date(pimpl_->kill_timer);
}
@@
-172,7
+172,7
@@
void Actor::killAll(int resetPid)
}
/** Retrieve the property value (or nullptr if not set) */
}
/** Retrieve the property value (or nullptr if not set) */
-const char* Actor::
p
roperty(const char* key)
+const char* Actor::
getP
roperty(const char* key)
{
return (char*)xbt_dict_get_or_null(simcall_process_get_properties(pimpl_), key);
}
{
return (char*)xbt_dict_get_or_null(simcall_process_get_properties(pimpl_), key);
}
@@
-250,22
+250,22
@@
CommPtr irecv(MailboxPtr chan, void** data)
return chan->get_async(data);
}
return chan->get_async(data);
}
-aid_t
p
id()
+aid_t
getP
id()
{
return SIMIX_process_self()->pid;
}
{
return SIMIX_process_self()->pid;
}
-aid_t
p
pid()
+aid_t
getP
pid()
{
return SIMIX_process_self()->ppid;
}
{
return SIMIX_process_self()->ppid;
}
-std::string
n
ame()
+std::string
getN
ame()
{
return SIMIX_process_self()->name;
}
{
return SIMIX_process_self()->name;
}
-Host*
h
ost()
+Host*
getH
ost()
{
return SIMIX_process_self()->host;
}
{
return SIMIX_process_self()->host;
}