diff --git a/testing/testings.h b/testing/testings.h index 3b7ca5f26f92ff753f599f99bd96710fa2a06b41..cf80e572dd19d99359741b1a4f154a25e5ef21ea 100644 --- a/testing/testings.h +++ b/testing/testings.h @@ -237,26 +237,4 @@ typedef struct testdata_ { void testing_start( testdata_t *tdata ); void testing_stop( testdata_t *tdata, cham_fixdbl_t flops ); -/** - * @brief Macros to enable distributed synchronization if necessary - */ -#if defined(CHAMELEON_USE_MPI) -#define START_DISTRIBUTED() CHAMELEON_Distributed_start(); -#define STOP_DISTRIBUTED() CHAMELEON_Distributed_stop(); -#else -#define START_DISTRIBUTED() do {} while(0); -#define STOP_DISTRIBUTED() do {} while(0); -#endif - -/** - * @brief Macros to start/stop timers with necessary synchronizations - */ -#define START_TIMING( _t_ ) \ - START_DISTRIBUTED(); \ - (_t_) = RUNTIME_get_time(); - -#define STOP_TIMING( _t_ ) \ - STOP_DISTRIBUTED(); \ - (_t_) = RUNTIME_get_time() - (_t_); \ - #endif /* _testings_h_ */