Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Importing the documentation !!! :)
[simgrid.git] / src / surf / trace_mgr_private.h
1 /*      $Id$     */
2
3 /* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #ifndef _SURF_TMGR_PRIVATE_H
9 #define _SURF_TMGR_PRIVATE_H
10
11 #include "xbt/swag.h"
12 #include "xbt/heap.h"
13 #include "surf/trace_mgr.h"
14
15 typedef struct tmgr_event {
16   double delta;
17   double value;
18 } s_tmgr_event_t, *tmgr_event_t;
19
20 typedef struct tmgr_trace {
21   xbt_dynar_t event_list;
22 } s_tmgr_trace_t;
23
24 typedef struct tmgr_trace_event {
25   tmgr_trace_t trace;
26   int idx;
27   void *resource;
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 */