Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename function
authorAugustin Degomme <augustin.degomme@imag.fr>
Wed, 16 Jul 2014 15:44:00 +0000 (17:44 +0200)
committerAugustin Degomme <augustin.degomme@imag.fr>
Wed, 16 Jul 2014 15:44:00 +0000 (17:44 +0200)
src/smpi/private.h
src/smpi/smpi_base.c
src/smpi/smpi_pmpi.c

index 4c682d7..8e9ce16 100644 (file)
@@ -174,7 +174,7 @@ void print_request(const char *message, MPI_Request request);
 int smpi_enabled(void);
 void smpi_global_init(void);
 void smpi_global_destroy(void);
-double smpi_wtime(void);
+double smpi_mpi_wtime(void);
 
 int is_datatype_valid(MPI_Datatype datatype);
 
index 15ca609..3ea6ac2 100644 (file)
@@ -190,7 +190,7 @@ static double smpi_or(double size)
   return current;
 }
 
-double smpi_wtime(){
+double smpi_mpi_wtime(){
   double time;
   if (smpi_process_initialized() && !smpi_process_finalized() && !smpi_process_get_sampling()) {
     smpi_bench_end();
index 8659ec4..4d8e218 100644 (file)
@@ -127,7 +127,7 @@ int PMPI_Abort(MPI_Comm comm, int errorcode)
 
 double PMPI_Wtime(void)
 {
-  return smpi_wtime();
+  return smpi_mpi_wtime();
 }
 
 extern double sg_maxmin_precision;