X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/41f6e93622ccf2e2c09dd0fd75ef6ad4f458e80b..c415c91f074a3047abd92a7d63b59baf1c61f51a:/src/include/surf/trace_mgr.h diff --git a/src/include/surf/trace_mgr.h b/src/include/surf/trace_mgr.h index 4a3be6b88e..bcb8ef81f1 100644 --- a/src/include/surf/trace_mgr.h +++ b/src/include/surf/trace_mgr.h @@ -1,7 +1,9 @@ -/* Authors: Arnaud Legrand */ +/* $Id$ */ + +/* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it - under the terms of the license (GNU LGPL) which comes with this package. */ + * under the terms of the license (GNU LGPL) which comes with this package. */ #ifndef _SURF_TMGR_H #define _SURF_TMGR_H @@ -21,15 +23,18 @@ void tmgr_history_free(tmgr_history_t history); tmgr_trace_t tmgr_trace_new(const char *filename); void tmgr_trace_free(tmgr_trace_t trace); -tmgr_trace_event_t tmgr_history_add_trace(tmgr_history_t history, tmgr_trace_t trace, - xbt_heap_float_t start_time, int offset, +tmgr_trace_event_t tmgr_history_add_trace(tmgr_history_t history, + tmgr_trace_t trace, + double start_time, int offset, void *resource); /* Access functions */ -xbt_heap_float_t tmgr_history_next_date(tmgr_history_t history); +double tmgr_history_next_date(tmgr_history_t history); tmgr_trace_event_t tmgr_history_get_next_event_leq(tmgr_history_t history, - xbt_heap_float_t date, - xbt_maxmin_float_t * value, - void **resource); + double date, + double *value, + void **resource); + +void tmgr_finalize(void); #endif /* _SURF_TMGR_H */