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
[surf] Move VMCreatedCallbacks outside of constructor
[simgrid.git]
/
src
/
surf
/
vm_hl13.hpp
diff --git
a/src/surf/vm_hl13.hpp
b/src/surf/vm_hl13.hpp
index
419a826
..
894d742
100644
(file)
--- a/
src/surf/vm_hl13.hpp
+++ b/
src/surf/vm_hl13.hpp
@@
-4,8
+4,10
@@
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
+#include "xbt/base.h"
+
#include "host_clm03.hpp"
#include "host_clm03.hpp"
-#include "v
m_interfac
e.hpp"
+#include "v
irtual_machin
e.hpp"
#ifndef SURF_VM_HPP_
#define SURF_VM_HPP_
#ifndef SURF_VM_HPP_
#define SURF_VM_HPP_
@@
-17,8
+19,8
@@
* Classes *
***********/
* Classes *
***********/
-class VMHL13Model;
-class VMHL13;
+class
XBT_PRIVATE
VMHL13Model;
+class
XBT_PRIVATE
VMHL13;
/*********
* Model *
/*********
* Model *
@@
-28,7
+30,7
@@
public:
VMHL13Model();
~VMHL13Model(){};
VMHL13Model();
~VMHL13Model(){};
- V
M
*createVM(const char *name, surf_resource_t host_PM);
+ V
irtualMachine
*createVM(const char *name, surf_resource_t host_PM);
double shareResources(double now);
void adjustWeightOfDummyCpuActions() {};
Action *executeParallelTask(int host_nb,
double shareResources(double now);
void adjustWeightOfDummyCpuActions() {};
Action *executeParallelTask(int host_nb,
@@
-43,7
+45,7
@@
public:
* Resource *
************/
* Resource *
************/
-class VMHL13 : public V
M
{
+class VMHL13 : public V
irtualMachine
{
public:
VMHL13(VMModel *model, const char* name, xbt_dict_t props, surf_resource_t host_PM);
~VMHL13();
public:
VMHL13(VMModel *model, const char* name, xbt_dict_t props, surf_resource_t host_PM);
~VMHL13();