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
Let's call sg::surf::host a HostImplem
[simgrid.git]
/
src
/
surf
/
HostImplem.hpp
diff --git
a/src/surf/host_interface.hpp
b/src/surf/HostImplem.hpp
similarity index 94%
rename from
src/surf/host_interface.hpp
rename to
src/surf/HostImplem.hpp
index
f1c199d
..
d89f3cf
100644
(file)
--- a/
src/surf/host_interface.hpp
+++ b/
src/surf/HostImplem.hpp
@@
-23,7
+23,7
@@
namespace simgrid {
namespace surf {
class XBT_PRIVATE HostModel;
namespace surf {
class XBT_PRIVATE HostModel;
-class XBT_PRIVATE Host;
+class XBT_PRIVATE Host
Implem
;
class XBT_PRIVATE HostAction;
class XBT_PRIVATE HostAction;
@@
-52,7
+52,7
@@
public:
HostModel() : Model() {}
~HostModel() override {}
HostModel() : Model() {}
~HostModel() override {}
- Host *createHost(const char *name, NetCard *net, Cpu *cpu, xbt_dict_t props);
+ Host
Implem
*createHost(const char *name, NetCard *net, Cpu *cpu, xbt_dict_t props);
virtual void adjustWeightOfDummyCpuActions();
virtual Action *executeParallelTask(int host_nb,
virtual void adjustWeightOfDummyCpuActions();
virtual Action *executeParallelTask(int host_nb,
@@
-71,11
+71,11
@@
public:
* @brief SURF Host interface class
* @details An host represents a machine with a aggregation of a Cpu, a RoutingEdge and a Storage
*/
* @brief SURF Host interface class
* @details An host represents a machine with a aggregation of a Cpu, a RoutingEdge and a Storage
*/
-class Host :
+class Host
Implem
:
public simgrid::surf::Resource,
public simgrid::surf::PropertyHolder {
public:
public simgrid::surf::Resource,
public simgrid::surf::PropertyHolder {
public:
- static simgrid::xbt::Extension<simgrid::s4u::Host, Host> EXTENSION_ID;
+ static simgrid::xbt::Extension<simgrid::s4u::Host, Host
Implem
> EXTENSION_ID;
public:
static void classInit(); // must be called before the first use of that class
public:
static void classInit(); // must be called before the first use of that class
@@
-88,7
+88,7
@@
public:
* @param storage The Storage associated to this Host
* @param cpu The Cpu associated to this Host
*/
* @param storage The Storage associated to this Host
* @param cpu The Cpu associated to this Host
*/
- Host(HostModel *model, const char *name, xbt_dict_t props,
+ Host
Implem
(HostModel *model, const char *name, xbt_dict_t props,
xbt_dynar_t storage, Cpu *cpu);
/**
xbt_dynar_t storage, Cpu *cpu);
/**
@@
-101,12
+101,12
@@
public:
* @param storage The Storage associated to this Host
* @param cpu The Cpu associated to this Host
*/
* @param storage The Storage associated to this Host
* @param cpu The Cpu associated to this Host
*/
- Host(HostModel *model, const char *name, xbt_dict_t props,
+ Host
Implem
(HostModel *model, const char *name, xbt_dict_t props,
lmm_constraint_t constraint, xbt_dynar_t storage, Cpu *cpu);
/* Host destruction logic */
/**************************/
lmm_constraint_t constraint, xbt_dynar_t storage, Cpu *cpu);
/* Host destruction logic */
/**************************/
- ~Host();
+ ~Host
Implem
();
public:
HostModel *getModel()
public:
HostModel *getModel()