X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5423275bf80828ba9e68147dc76a6fcc737826a7..bed0bd887ad1b2584aab20cf8b447df2e3a217aa:/src/surf/cpu.c diff --git a/src/surf/cpu.c b/src/surf/cpu.c index 4a56bfc75e..4e3916cb30 100644 --- a/src/surf/cpu.c +++ b/src/surf/cpu.c @@ -139,7 +139,6 @@ static void add_traces_cpu(void) static void cpu_define_callbacks(const char *file) { - surf_parse_reset_parser(); surfxml_add_callback(STag_surfxml_host_cb_list, parse_cpu_init); surfxml_add_callback(ETag_surfxml_platform_cb_list, &add_traces_cpu); } @@ -214,6 +213,7 @@ static void cpu_update_actions_state(double now, double delta) lmm_variable_getvalue (action->variable), now - delta, delta); + TRACE_last_timestamp_to_dump = now-delta; #endif double_update(&(action->generic_action.remains), lmm_variable_getvalue(action->variable) * delta);