Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
proper use of the HAVE_TRACING variable defined by Cmake through -Dtracing=on
[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 "xbt/dict.h"
13
14 typedef struct network_link_CM02 {
15   s_surf_resource_lmm_t lmm_resource; /* must remain first to be added to a trace */
16
17   /* Using this object with the public part of
18      model does not make sense */
19   double lat_current;
20   tmgr_trace_event_t lat_event;
21 } s_link_CM02_t, *link_CM02_t;
22
23
24 typedef struct surf_action_network_CM02 {
25   s_surf_action_t generic_action;
26   double latency;
27   double lat_current;
28   double weight;
29   lmm_variable_t variable;
30   double rate;
31   int suspended;
32
33   int src;  /* saving source id for tracing */
34   int dst; /* saving dest id for tracing */
35 } s_surf_action_network_CM02_t, *surf_action_network_CM02_t;
36
37 #endif /* _SURF_NETWORK_PRIVATE_H */