X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bcc1dbe28f658ea786ba234a679601edd30758a..c271686fd059bd4313549ec557eb44f82109a03d:/src/surf/trace_mgr_private.h diff --git a/src/surf/trace_mgr_private.h b/src/surf/trace_mgr_private.h index a84a6385d8..d05ba5b92e 100644 --- a/src/surf/trace_mgr_private.h +++ b/src/surf/trace_mgr_private.h @@ -59,16 +59,18 @@ typedef struct tmgr_trace { }; } s_tmgr_trace_t; - -typedef struct tmgr_trace_event { +/* Iterator within a trace */ +typedef struct tmgr_trace_iterator { tmgr_trace_t trace; unsigned int idx; - void *model; + void *resource; int free_me; } s_tmgr_trace_event_t; -typedef struct tmgr_history { - xbt_heap_t heap; +/* Future Event Set (collection of iterators over the traces) + * That's useful to quickly know which is the next occurring event in a set of traces. */ +typedef struct tmgr_fes { + xbt_heap_t heap; /* Content: only trace_events */ } s_tmgr_history_t; XBT_PRIVATE double tmgr_event_generator_next_value(probabilist_event_generator_t generator);