Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use surf_precision as a value for PMPI_Wtick
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 16 Feb 2023 22:31:53 +0000 (23:31 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 17 Feb 2023 07:30:13 +0000 (08:30 +0100)
the unit of maxmin_precision is in flops or bytes (that's an amount of
work) while the unit of surf_precision is in seconds (that's a time).

src/smpi/bindings/smpi_pmpi.cpp

index ab73411..d825ffe 100644 (file)
@@ -152,10 +152,10 @@ double PMPI_Wtime()
   return smpi_mpi_wtime();
 }
 
   return smpi_mpi_wtime();
 }
 
-extern double sg_maxmin_precision;
+extern double sg_surf_precision;
 double PMPI_Wtick()
 {
 double PMPI_Wtick()
 {
-  return sg_maxmin_precision;
+  return sg_surf_precision;
 }
 
 int PMPI_Address(const void* location, MPI_Aint* address)
 }
 
 int PMPI_Address(const void* location, MPI_Aint* address)