X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ddf7309924c2ae8349e121b3d0fe9d05f26d40c2:/src/surf/surf_timer.c..82514660ccfbe5b72e4b8979ba1a496fd2a2db19:/src/surf/surf_model_timer.c diff --git a/src/surf/surf_timer.c b/src/surf/surf_model_timer.c similarity index 94% rename from src/surf/surf_timer.c rename to src/surf/surf_model_timer.c index a6e385226e..5a3a740a0b 100644 --- a/src/surf/surf_timer.c +++ b/src/surf/surf_model_timer.c @@ -6,11 +6,20 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "xbt/ex.h" -#include "surf_timer_private.h" +#include "surf_private.h" +#include "xbt/dict.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_timer, surf, "Logging specific to SURF (timer)"); +typedef struct command { + 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; +} s_command_t, *command_t; + + surf_model_t surf_timer_model = NULL; static tmgr_trace_t empty_trace = NULL; static xbt_swag_t command_pending = NULL;