Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
dafuk? don't mix seconds and flops!
[simgrid.git] / src / smpi / smpi_bench.c
index ad115e1..f2a5fef 100644 (file)
@@ -115,8 +115,7 @@ void smpi_bench_destroy(void)
   xbt_dict_free(&calls);
 }
 
-static void smpi_execute_flops(double flops)
-{
+void smpi_execute_flops(double flops) {
   smx_action_t action;
   smx_host_t host;
   host = SIMIX_host_self();
@@ -325,11 +324,6 @@ void smpi_sample_3(int global, const char *file, int line)
   data->benching = 0;
 }
 
-void smpi_sample_flops(double flops)
-{
-  smpi_execute_flops(flops);
-}
-
 void *smpi_shared_malloc(size_t size, const char *file, int line)
 {
   char *loc = bprintf("%zu_%s_%d", (size_t)getpid(), file, line);