Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] merging instr_variables.c into instr_interface.c (code re-organization)
[simgrid.git] / src / surf / trace_mgr_private.h
1 /* Copyright (c) 2004, 2007, 2009, 2010. 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 _SURF_TMGR_PRIVATE_H
8 #define _SURF_TMGR_PRIVATE_H
9
10 #include "xbt/swag.h"
11 #include "xbt/heap.h"
12 #include "surf/trace_mgr.h"
13
14 typedef struct tmgr_event {
15   double delta;
16   double value;
17 } s_tmgr_event_t, *tmgr_event_t;
18
19 typedef struct tmgr_trace {
20   xbt_dynar_t event_list;
21 } s_tmgr_trace_t;
22
23 typedef struct tmgr_trace_event {
24   tmgr_trace_t trace;
25   unsigned int idx;
26   void *model;
27   int free_me;
28 } s_tmgr_trace_event_t;
29
30 typedef struct tmgr_history {
31   xbt_heap_t heap;
32 } s_tmgr_history_t;
33
34 #endif                          /* _SURF_TMGR_PRIVATE_H */