X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/92959d5b26387e5194b1bb4553baf90da7701f41..8ec4cdb61b9430ccbbb5f07e48d46039aa72609f:/src/smpi/private.h diff --git a/src/smpi/private.h b/src/smpi/private.h index 03fdd13352..12dbaaff0a 100644 --- a/src/smpi/private.h +++ b/src/smpi/private.h @@ -114,6 +114,8 @@ smx_rdv_t smpi_process_remote_mailbox_small(int index); xbt_os_timer_t smpi_process_timer(void); void smpi_process_simulated_start(void); double smpi_process_simulated_elapsed(void); +void smpi_process_set_sampling(int s); +int smpi_process_get_sampling(void); void print_request(const char *message, MPI_Request request); @@ -288,7 +290,8 @@ int smpi_coll_basic_alltoallv(void *sendbuf, int *sendcounts, MPI_Comm comm); // utilities -extern int smpi_sample_is_running; +extern double smpi_cpu_threshold; +extern double smpi_running_power; void smpi_bench_destroy(void); void smpi_bench_begin(void); void smpi_bench_end(void);