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
damn!
[simgrid.git]
/
src
/
s4u
/
s4u_host.cpp
diff --git
a/src/s4u/s4u_host.cpp
b/src/s4u/s4u_host.cpp
index
5540298
..
892337c
100644
(file)
--- a/
src/s4u/s4u_host.cpp
+++ b/
src/s4u/s4u_host.cpp
@@
-11,7
+11,7
@@
#include <unordered_map>
#include "simgrid/simix.hpp"
#include <unordered_map>
#include "simgrid/simix.hpp"
-#include "src/surf/HostImpl
em
.hpp"
+#include "src/surf/HostImpl.hpp"
#include "xbt/log.h"
#include "src/msg/msg_private.h"
#include "src/simix/smx_process_private.h"
#include "xbt/log.h"
#include "src/msg/msg_private.h"
#include "src/simix/smx_process_private.h"
@@
-22,7
+22,6
@@
int MSG_HOST_LEVEL;
int SIMIX_HOST_LEVEL;
int MSG_HOST_LEVEL;
int SIMIX_HOST_LEVEL;
-int ROUTING_HOST_LEVEL;
int USER_HOST_LEVEL;
namespace simgrid {
int USER_HOST_LEVEL;
namespace simgrid {
@@
-112,7
+111,7
@@
boost::unordered_map<std::string, Storage*> const& Host::mountedStorages() {
/** Get the properties assigned to a host */
xbt_dict_t Host::properties() {
return simgrid::simix::kernel([&] {
/** Get the properties assigned to a host */
xbt_dict_t Host::properties() {
return simgrid::simix::kernel([&] {
- simgrid::surf::HostImpl
em* surf_host = this->extension<simgrid::surf::HostImplem
>();
+ simgrid::surf::HostImpl
* surf_host = this->extension<simgrid::surf::HostImpl
>();
return surf_host->getProperties();
});
}
return surf_host->getProperties();
});
}
@@
-166,14
+165,14
@@
int Host::pstate()
void Host::parameters(vm_params_t params)
{
simgrid::simix::kernel([&]() {
void Host::parameters(vm_params_t params)
{
simgrid::simix::kernel([&]() {
- this->extension<simgrid::surf::HostImpl
em
>()->getParams(params);
+ this->extension<simgrid::surf::HostImpl>()->getParams(params);
});
}
void Host::setParameters(vm_params_t params)
{
simgrid::simix::kernel([&]() {
});
}
void Host::setParameters(vm_params_t params)
{
simgrid::simix::kernel([&]() {
- this->extension<simgrid::surf::HostImpl
em
>()->setParams(params);
+ this->extension<simgrid::surf::HostImpl>()->setParams(params);
});
}
});
}
@@
-185,7
+184,7
@@
void Host::setParameters(vm_params_t params)
xbt_dict_t Host::mountedStoragesAsDict()
{
return simgrid::simix::kernel([&] {
xbt_dict_t Host::mountedStoragesAsDict()
{
return simgrid::simix::kernel([&] {
- return this->extension<simgrid::surf::HostImpl
em
>()->getMountedStorageList();
+ return this->extension<simgrid::surf::HostImpl>()->getMountedStorageList();
});
}
});
}
@@
-197,7
+196,7
@@
xbt_dict_t Host::mountedStoragesAsDict()
xbt_dynar_t Host::attachedStorages()
{
return simgrid::simix::kernel([&] {
xbt_dynar_t Host::attachedStorages()
{
return simgrid::simix::kernel([&] {
- return this->extension<simgrid::surf::HostImpl
em
>()->getAttachedStorageList();
+ return this->extension<simgrid::surf::HostImpl>()->getAttachedStorageList();
});
}
});
}