From: velho Date: Thu, 26 Jun 2008 11:00:25 +0000 (+0000) Subject: Adapted to the new get total received interface. X-Git-Tag: v3.3~274 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e2abd458b1e8ae7517575b3f116065836250214f?hp=1350ddbc8f518bf9f4701bdfc3ba843d3b2a0a4b Adapted to the new get total received interface. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5828 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/gtnets/gtnets_simulator.cc b/src/surf/gtnets/gtnets_simulator.cc index 8d5c3ab7fd..a21ba16093 100644 --- a/src/surf/gtnets/gtnets_simulator.cc +++ b/src/surf/gtnets/gtnets_simulator.cc @@ -293,7 +293,7 @@ Time_t GTSim::get_time_to_next_flow_completion(){ double GTSim::gtnets_get_flow_rx(void *metadata){ int flow_id = gtnets_action_to_flow_[metadata]; - return gtnets_servers_[flow_id]->totRx; + return gtnets_servers_[flow_id]->GetTotRx(); } int GTSim::run_until_next_flow_completion(void ***metadata, int *number_of_flows){