Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
CPU can be created and used even though failures are not handled yet. SURF
[simgrid.git] / src / surf / surf_private.h
1 /* Authors: Arnaud Legrand                                                  */
2
3 /* This program is free software; you can redistribute it and/or modify it
4    under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef _SURF_SURF_PRIVATE_H
7 #define _SURF_SURF_PRIVATE_H
8
9 #include "surf/surf.h"
10 #include "surf/maxmin.h"
11 #include "surf/trace_mgr.h"
12
13 /* Generic functions common to all ressources */
14 e_surf_action_state_t surf_action_get_state(surf_action_t action);
15 void surf_action_free(surf_action_t * action);
16 void surf_action_change_state(surf_action_t action, e_surf_action_state_t state);
17
18 extern xbt_dynar_t resource_list;
19 extern lmm_system_t maxmin_system;
20 extern tmgr_history_t history;
21
22 #endif                          /* _SURF_SURF_PRIVATE_H */