Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove completely the energy concern from the core
[simgrid.git] / src / include / mc / datatypes.h
1 /* Copyright (c) 2008-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 MC_DATATYPE_H
8 #define MC_DATATYPE_H
9
10 #include "xbt/misc.h"
11 #include "xbt/swag.h"
12 #include "xbt/fifo.h"
13
14 #if HAVE_MC
15 #include <libunwind.h>
16 #include <dwarf.h>
17 #endif 
18
19 SG_BEGIN_DECL()
20
21 /******************************* Transitions **********************************/
22
23 typedef struct s_mc_transition *mc_transition_t;
24
25 /*********** Structures for snapshot comparison **************************/
26
27 typedef struct s_stack_region{
28   void *address;
29   void *context;
30   size_t size;
31   int block;
32   int process_index;
33 }s_stack_region_t, *stack_region_t;
34
35 /************ DWARF structures *************/
36
37 SG_END_DECL()
38 #endif                          /* _MC_MC_H */