Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / include / simgrid / datatypes.h
1 /* Copyright (c) 2013-2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SIMGRID_DATATYPES_H_
8 #define SIMGRID_DATATYPES_H_
9
10 #include <simgrid/forward.h>
11
12 struct vm_params {
13   int ncpus;
14   sg_size_t ramsize;
15   int overcommit;
16
17   /* The size of other states than memory pages, which is out-of-scope of dirty
18    * page tracking. */
19   sg_size_t devsize;
20   int skip_stage1;
21   int skip_stage2;
22   double max_downtime;
23
24   double dp_rate;
25   double dp_cap; /* bytes per 1 flop execution */
26
27   /* set migration speed */
28   double mig_speed;
29 };
30 typedef struct vm_params  s_vm_params_t;
31 typedef struct vm_params* vm_params_t;
32
33 #endif /* SIMGRID_DATATYPES_H_ */