Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Windows version of rand_r() and drand48()functions.
[simgrid.git] / src / surf / network_gtnets_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_GTNETS_PRIVATE_H
9 #define _SURF_NETWORK_GTNETS_PRIVATE_H
10
11 #include "surf_private.h"
12 #include "xbt/dict.h"
13
14 typedef struct network_link_GTNETS {
15   surf_model_t model;   /* Any such object, added in a trace
16                                    should start by this field!!! */
17   /* Using this object with the public part of
18      model does not make sense */
19   char *name;
20   double bw_current;
21   double lat_current;
22   int id;
23   /*holds the properties associated witht the link*/
24   xbt_dict_t properties;
25 } s_network_link_GTNETS_t, *network_link_GTNETS_t;
26
27
28 typedef struct network_card_GTNETS {
29   char *name;
30   int id;
31   /*holds the properties associated witht the card*/
32   xbt_dict_t properties;
33 } s_network_card_GTNETS_t, *network_card_GTNETS_t;
34
35 typedef struct surf_action_network_GTNETS {
36   s_surf_action_t generic_action;
37   double latency;
38   double lat_current;
39   lmm_variable_t variable;
40   double rate;
41   int suspended;
42   network_card_GTNETS_t src;
43   network_card_GTNETS_t dst;
44 } s_surf_action_network_GTNETS_t, *surf_action_network_GTNETS_t;
45
46 extern xbt_dict_t network_card_set;
47
48
49 #endif                          /* _SURF_NETWORK_PRIVATE_H */
50
51