Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Instr: Cleanup TRACE_smpi_init / smpi_container() usage...
[simgrid.git] / src / instr / instr_resource_utilization.cpp
index 19468d2..6ad4889 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2017. The SimGrid Team.
+/* Copyright (c) 2010-2018. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -22,7 +22,7 @@ static void instr_event(double now, double delta, simgrid::instr::VariableType*
    */
 
   // create a key considering the resource and variable
-  std::string key = resource->getName() + variable->getName();
+  std::string key = resource->get_name() + variable->get_name();
 
   // check if key exists: if it doesn't, set the variable to zero and mark this in the global map.
   if (platform_variables.find(key) == platform_variables.end()) {