Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[travis] detect linux as we should
[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 typedef struct vm_params {
11   int ncpus;
12   sg_size_t ramsize;
13   int overcommit;
14
15   /* The size of other states than memory pages, which is out-of-scope of dirty
16    * page tracking. */
17   sg_size_t devsize;
18   int skip_stage1;
19   int skip_stage2;
20   double max_downtime;
21
22   double dp_rate;
23   double dp_cap; /* bytes per 1 flop execution */
24
25   /* set migration speed */
26   double mig_speed;
27 } s_vm_params_t, *vm_params_t;
28
29 #endif /* SIMGRID_DATATYPES_H_ */