Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Replace surf_get_clock with SIMIX_get_clock
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 5 Jul 2018 12:38:25 +0000 (14:38 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 5 Jul 2018 13:21:14 +0000 (15:21 +0200)
src/smpi/internals/smpi_bench.cpp

index ac7f78c..f7101a3 100644 (file)
@@ -166,7 +166,7 @@ void smpi_bench_end()
 
     for (auto const& pair : counter_data) {
       simgrid::instr::VariableType* variable = static_cast<simgrid::instr::VariableType*>(container->type_->by_name(pair.first));
 
     for (auto const& pair : counter_data) {
       simgrid::instr::VariableType* variable = static_cast<simgrid::instr::VariableType*>(container->type_->by_name(pair.first));
-      variable->set_event(surf_get_clock(), pair.second);
+      variable->set_event(SIMIX_get_clock(), pair.second);
     }
   }
 #endif
     }
   }
 #endif