Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] process_data is now declared static
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 5 Dec 2017 16:29:46 +0000 (17:29 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 5 Dec 2017 16:29:46 +0000 (17:29 +0100)
It's not used in any other file any more and functions should be
used (if at all) to access it.

src/smpi/internals/smpi_global.cpp

index 351269c..0407a77 100644 (file)
@@ -52,7 +52,7 @@ struct papi_process_data {
 #endif
 std::unordered_map<std::string, double> location2speedup;
 
-simgrid::smpi::Process **process_data = nullptr;
+static simgrid::smpi::Process** process_data = nullptr;
 int process_count = 0;
 int smpi_universe_size = 0;
 int* index_to_process_data = nullptr;