void TRACE_smpi_start(void)
{
- if (IS_TRACING_SMPI) {
+ if (TRACE_smpi_is_enabled()) {
TRACE_start();
}
}
void TRACE_smpi_release(void)
{
TRACE_surf_release();
- if (IS_TRACING_SMPI) {
+ if (TRACE_smpi_is_enabled()) {
TRACE_end();
}
}
void TRACE_smpi_init(int rank)
{
- if (!IS_TRACING_SMPI)
+ if (!TRACE_smpi_is_enabled())
return;
char str[INSTR_DEFAULT_STR_SIZE];
void TRACE_smpi_finalize(int rank)
{
- if (!IS_TRACING_SMPI)
+ if (!TRACE_smpi_is_enabled())
return;
char str[INSTR_DEFAULT_STR_SIZE];
void TRACE_smpi_collective_in(int rank, int root, const char *operation)
{
- if (!IS_TRACING_SMPI)
+ if (!TRACE_smpi_is_enabled())
return;
char str[INSTR_DEFAULT_STR_SIZE];
void TRACE_smpi_collective_out(int rank, int root, const char *operation)
{
- if (!IS_TRACING_SMPI)
+ if (!TRACE_smpi_is_enabled())
return;
char str[INSTR_DEFAULT_STR_SIZE];
void TRACE_smpi_ptp_in(int rank, int src, int dst, const char *operation)
{
- if (!IS_TRACING_SMPI)
+ if (!TRACE_smpi_is_enabled())
return;
char str[INSTR_DEFAULT_STR_SIZE];
void TRACE_smpi_ptp_out(int rank, int src, int dst, const char *operation)
{
- if (!IS_TRACING_SMPI)
+ if (!TRACE_smpi_is_enabled())
return;
char str[INSTR_DEFAULT_STR_SIZE];
void TRACE_smpi_send(int rank, int src, int dst)
{
- if (!IS_TRACING_SMPI)
+ if (!TRACE_smpi_is_enabled())
return;
char key[INSTR_DEFAULT_STR_SIZE], str[INSTR_DEFAULT_STR_SIZE];
void TRACE_smpi_recv(int rank, int src, int dst)
{
- if (!IS_TRACING_SMPI)
+ if (!TRACE_smpi_is_enabled())
return;
char key[INSTR_DEFAULT_STR_SIZE], str[INSTR_DEFAULT_STR_SIZE];