Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Added privatized_region_ property to simgrid::smpi::Process
[simgrid.git] / src / smpi / internals / smpi_process.cpp
index d073614..80d012e 100644 (file)
@@ -166,6 +166,16 @@ smpi_trace_call_location_t* Process::call_location()
   return &trace_call_loc_;
 }
 
+void Process::set_privatized_region(smpi_privatization_region_t region)
+{
+  privatized_region_ = region;
+}
+
+smpi_privatization_region_t Process::privatized_region()
+{
+  return privatized_region_;
+}
+
 int Process::index()
 {
   return index_;