X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/108d87669124e33d58407071c2b4268a9ff636b8..13fb4af932a02ea0bd4293d1e55ac071de326f80:/src/smpi/smpi_bench.cpp diff --git a/src/smpi/smpi_bench.cpp b/src/smpi/smpi_bench.cpp index f0873720fb..f902f4e3d6 100644 --- a/src/smpi/smpi_bench.cpp +++ b/src/smpi/smpi_bench.cpp @@ -78,10 +78,11 @@ void smpi_execute(double duration) } } -void smpi_execute_public(double duration) { - smpi_bench_end(); - smpi_execute(duration); - smpi_bench_begin(); +void smpi_execute_benched(double duration) +{ + smpi_bench_end(); + smpi_execute(duration); + smpi_bench_begin(); } void smpi_bench_begin() @@ -427,7 +428,7 @@ extern "C" { /** These functions will be called from the user code **/ smpi_trace_set_call_location(file, *line); } - /** + /** * Required for Fortran if -fsecond-underscore is activated */ void smpi_trace_set_call_location__(const char* file, int* line) {