Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics (function renaming)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 23 Jun 2009 15:07:30 +0000 (15:07 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 23 Jun 2009 15:07:30 +0000 (15:07 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6336 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/smpi/private.h
src/smpi/smpi_base.c
src/smpi/smpi_mpi.c
src/smpi/smpi_util.c

index f3e8515..15c29d9 100644 (file)
@@ -120,8 +120,8 @@ typedef struct smpi_host_data_t {
 typedef struct smpi_host_data_t *smpi_host_data_t;
 
 // function prototypes
 typedef struct smpi_host_data_t *smpi_host_data_t;
 
 // function prototypes
-void smpi_init_process(void);
-void smpi_mpi_finalize(void);
+void smpi_process_init(void);
+void smpi_process_finalize(void);
 int smpi_mpi_comm_rank(smpi_mpi_communicator_t comm);
 
 int smpi_mpi_barrier(smpi_mpi_communicator_t comm);
 int smpi_mpi_comm_rank(smpi_mpi_communicator_t comm);
 
 int smpi_mpi_barrier(smpi_mpi_communicator_t comm);
index 8137545..8c018ca 100644 (file)
@@ -46,7 +46,7 @@ int smpi_mpi_comm_rank(smpi_mpi_communicator_t comm)
   return comm->index_to_rank_map[smpi_host_index()];
 }
 
   return comm->index_to_rank_map[smpi_host_index()];
 }
 
-void smpi_init_process()
+void smpi_process_init()
 {
   smx_host_t host;
   int i;
 {
   smx_host_t host;
   int i;
@@ -70,7 +70,7 @@ void smpi_init_process()
   return;
 }
 
   return;
 }
 
-void smpi_mpi_finalize()
+void smpi_process_finalize()
 {
   int i;
 
 {
   int i;
 
index 672b2ca..4a939a1 100644 (file)
@@ -5,7 +5,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_mpi, smpi,
 
 int SMPI_MPI_Init(int *argc, char ***argv)
 {
 
 int SMPI_MPI_Init(int *argc, char ***argv)
 {
-  smpi_init_process();
+  smpi_process_init();
   smpi_bench_begin();
   return MPI_SUCCESS;
 }
   smpi_bench_begin();
   return MPI_SUCCESS;
 }
@@ -13,7 +13,7 @@ int SMPI_MPI_Init(int *argc, char ***argv)
 int SMPI_MPI_Finalize()
 {
   smpi_bench_end();
 int SMPI_MPI_Finalize()
 {
   smpi_bench_end();
-  smpi_mpi_finalize();
+  smpi_process_finalize();
   return MPI_SUCCESS;
 }
 
   return MPI_SUCCESS;
 }
 
index c5bc013..cc7399b 100644 (file)
@@ -58,7 +58,7 @@ unsigned int smpi_sleep(unsigned int seconds)
 void smpi_exit(int status)
 {
   smpi_bench_end();
 void smpi_exit(int status)
 {
   smpi_bench_end();
-  smpi_mpi_finalize();
+  smpi_process_finalize();
   SIMIX_process_kill(SIMIX_process_self());
   return;
 }
   SIMIX_process_kill(SIMIX_process_self());
   return;
 }