Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please clang
[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   /* The size of other states than memory pages, which is out-of-scope of dirty page tracking. */
14   int skip_stage1;
15   int skip_stage2;
16   double max_downtime;
17
18   double dp_intensity; // Percentage of pages that get dirty compared to netspeed [0;1]
19   double dp_cap; /* bytes per 1 flop execution */
20
21   /* set migration speed */
22   double mig_speed;
23 };
24 typedef struct vm_params  s_vm_params_t;
25 typedef struct vm_params* vm_params_t;
26
27 #endif /* SIMGRID_DATATYPES_H_ */