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
remove a useless 'friend' statement (+cosmetics)
[simgrid.git]
/
include
/
simgrid
/
datatypes.h
diff --git
a/include/simgrid/datatypes.h
b/include/simgrid/datatypes.h
index
3a407d8
..
facacb4
100644
(file)
--- a/
include/simgrid/datatypes.h
+++ b/
include/simgrid/datatypes.h
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-201
4
. The SimGrid Team.
+/* Copyright (c) 2013-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-7,23
+7,16
@@
#ifndef SIMGRID_DATATYPES_H_
#define SIMGRID_DATATYPES_H_
#ifndef SIMGRID_DATATYPES_H_
#define SIMGRID_DATATYPES_H_
-typedef struct vm_params {
- int ncpus;
- sg_size_t ramsize;
- int overcommit;
+#include "simgrid/forward.h"
- /* The size of other states than memory pages, which is out-of-scope of dirty
- * page tracking. */
- sg_size_t devsize;
- int skip_stage1;
- int skip_stage2;
+struct vm_params {
double max_downtime;
double max_downtime;
+ double dp_intensity; // Percentage of pages that get dirty compared to netspeed [0;1] bytes per 1 flop execution
+ double dp_cap;
+ double mig_speed; // Set migration speed
+};
- double dp_rate;
- double dp_cap; /* bytes per 1 flop execution */
-
- /* set migration speed */
- double mig_speed;
-} s_vm_params_t, *vm_params_t;
+typedef struct vm_params s_vm_params_t;
+typedef struct vm_params* vm_params_t;
#endif /* SIMGRID_DATATYPES_H_ */
#endif /* SIMGRID_DATATYPES_H_ */