Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
98f984d3c2bd28564e0f3fafb52288fac8aace25
[simgrid.git] / src / surf / network_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_NETWORK_PRIVATE_H
9 #define _SURF_NETWORK_PRIVATE_H
10
11 #include "surf_private.h"
12 #include "network_common.h"
13 #include "xbt/dict.h"
14
15 typedef struct network_link_CM02 {
16   s_surf_resource_t generic_resource; /* must remain first to be added to a trace */
17
18   /* Using this object with the public part of
19      model does not make sense */
20   double bw_current;
21   tmgr_trace_event_t bw_event;
22   double lat_current;
23   tmgr_trace_event_t lat_event;
24   e_surf_link_state_t state_current;
25   tmgr_trace_event_t state_event;
26   lmm_constraint_t constraint;
27 } s_link_CM02_t, *link_CM02_t;
28
29
30 typedef struct surf_action_network_CM02 {
31   s_surf_action_t generic_action;
32   double latency;
33   double lat_current;
34   double weight;
35   lmm_variable_t variable;
36   double rate;
37   int suspended;
38 #ifdef KILLME
39   int src;
40   int dst;
41 #endif
42 } s_surf_action_network_CM02_t, *surf_action_network_CM02_t;
43
44 #endif /* _SURF_NETWORK_PRIVATE_H */