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
[simix] Fix SMPI+MSG
[simgrid.git]
/
src
/
surf
/
host_interface.hpp
diff --git
a/src/surf/host_interface.hpp
b/src/surf/host_interface.hpp
index
759cb27
..
978ed35
100644
(file)
--- a/
src/surf/host_interface.hpp
+++ b/
src/surf/host_interface.hpp
@@
-9,6
+9,8
@@
#include "cpu_interface.hpp"
#include "network_interface.hpp"
#include "cpu_interface.hpp"
#include "network_interface.hpp"
+#include <xbt/base.h>
+
#ifndef SURF_HOST_INTERFACE_HPP_
#define SURF_HOST_INTERFACE_HPP_
#ifndef SURF_HOST_INTERFACE_HPP_
#define SURF_HOST_INTERFACE_HPP_
@@
-16,9
+18,9
@@
* Classes *
***********/
* Classes *
***********/
-class HostModel;
-class Host;
-class HostAction;
+class
XBT_PRIVATE
HostModel;
+class
XBT_PRIVATE
Host;
+class
XBT_PRIVATE
HostAction;
/*************
* Callbacks *
/*************
* Callbacks *
@@
-48,7
+50,6
@@
XBT_PUBLIC_DATA(surf_callback(void, HostAction*, e_surf_action_state_t, e_surf_a
* Tools *
*********/
XBT_PUBLIC_DATA(HostModel*) surf_host_model;
* Tools *
*********/
XBT_PUBLIC_DATA(HostModel*) surf_host_model;
-XBT_PUBLIC(void) host_parse_init(sg_platf_host_cbarg_t host);
XBT_PUBLIC(void) host_add_traces();
/*********
XBT_PUBLIC(void) host_add_traces();
/*********
@@
-63,7
+64,7
@@
public:
HostModel() : Model() {}
~HostModel() {}
HostModel() : Model() {}
~HostModel() {}
- virtual Host *createHost(const char *name)=0;
+ virtual Host *createHost(const char *name
, RoutingEdge *net, Cpu *cpu
)=0;
void addTraces(){DIE_IMPOSSIBLE;}
virtual void adjustWeightOfDummyCpuActions();
void addTraces(){DIE_IMPOSSIBLE;}
virtual void adjustWeightOfDummyCpuActions();