Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adapted to the new get total received interface.
authorvelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 26 Jun 2008 11:00:25 +0000 (11:00 +0000)
committervelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 26 Jun 2008 11:00:25 +0000 (11:00 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5828 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/gtnets/gtnets_simulator.cc

index 8d5c3ab..a21ba16 100644 (file)
@@ -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){