A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement a generic resource; use it as ancestor to specific ones
[simgrid.git]
/
src
/
surf
/
surf_timer_private.h
diff --git
a/src/surf/surf_timer_private.h
b/src/surf/surf_timer_private.h
index
e2b76f4
..
eaa055c
100644
(file)
--- a/
src/surf/surf_timer_private.h
+++ b/
src/surf/surf_timer_private.h
@@
-11,14
+11,8
@@
#include "surf_private.h"
#include "xbt/dict.h"
#include "surf_private.h"
#include "xbt/dict.h"
-/* typedef struct surf_action_timer_Cas01 { */
-/* s_surf_action_t generic_action; */
-/* lmm_variable_t variable; */
-/* } s_surf_action_timer_t, *surf_action_timer_t; */
-
typedef struct command {
typedef struct command {
- surf_model_t model; /* Any such object, added in a trace
- should start by this field!!! */
+ s_surf_resource_t generic_resource; /* Must remain first, since we add this to a trace */
void *function;
void *args;
s_xbt_swag_hookup_t command_set_hookup;
void *function;
void *args;
s_xbt_swag_hookup_t command_set_hookup;