1
1

opal/timing: remove RML timings

Signed-off-by: Artem Polyakov <artpol84@gmail.com>
Этот коммит содержится в:
Artem Polyakov 2017-03-28 23:38:33 +07:00 коммит произвёл Boris Karasev
родитель 79100de014
Коммит 482d7c9322
4 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -55,8 +55,6 @@
BEGIN_C_DECLS BEGIN_C_DECLS
OPAL_TIMING_DECLARE_EXT(ORTE_DECLSPEC, tm_rml)
/* /*
* MCA Framework * MCA Framework
*/ */

Просмотреть файл

@ -56,7 +56,6 @@ orte_rml_base_API_t orte_rml = {
}; };
orte_rml_base_t orte_rml_base = {{{0}}}; orte_rml_base_t orte_rml_base = {{{0}}};
OPAL_TIMING_DECLARE(tm_rml)
orte_rml_component_t *orte_rml_component = NULL; orte_rml_component_t *orte_rml_component = NULL;
@ -136,8 +135,6 @@ static int orte_rml_base_close(void)
cleanup(0, 0, NULL); cleanup(0, 0, NULL);
} }
OPAL_TIMING_REPORT(orte_rml_base.timing, &tm_rml);
return mca_base_framework_components_close(&orte_rml_base_framework, NULL); return mca_base_framework_components_close(&orte_rml_base_framework, NULL);
} }
@ -151,7 +148,6 @@ static int orte_rml_base_open(mca_base_open_flag_t flags)
OBJ_CONSTRUCT(&orte_rml_base.conduits, opal_pointer_array_t); OBJ_CONSTRUCT(&orte_rml_base.conduits, opal_pointer_array_t);
opal_pointer_array_init(&orte_rml_base.conduits,1,INT_MAX,1); opal_pointer_array_init(&orte_rml_base.conduits,1,INT_MAX,1);
OPAL_TIMING_INIT(&tm_rml);
/* Open up all available components */ /* Open up all available components */
return mca_base_framework_components_open(&orte_rml_base_framework, flags); return mca_base_framework_components_open(&orte_rml_base_framework, flags);
} }

Просмотреть файл

@ -165,9 +165,6 @@ void orte_rml_base_process_msg(int fd, short flags, void *cbdata)
ORTE_NAME_PRINT(&msg->sender), ORTE_NAME_PRINT(&msg->sender),
msg->tag)); msg->tag));
OPAL_TIMING_EVENT((&tm_rml,"from %s %d bytes",
ORTE_NAME_PRINT(&msg->sender), msg->iov.iov_len));
/* if this message is just to warmup the connection, then drop it */ /* if this message is just to warmup the connection, then drop it */
if (ORTE_RML_TAG_WARMUP_CONNECTION == msg->tag) { if (ORTE_RML_TAG_WARMUP_CONNECTION == msg->tag) {
OBJ_RELEASE(msg); OBJ_RELEASE(msg);

Просмотреть файл

@ -99,8 +99,6 @@ int orte_rml_oob_send_nb(struct orte_rml_base_module_t *mod,
return ORTE_ERR_BAD_PARAM; return ORTE_ERR_BAD_PARAM;
} }
OPAL_TIMING_EVENT((&tm_rml, "to %s", ORTE_NAME_PRINT(peer)));
/* if this is a message to myself, then just post the message /* if this is a message to myself, then just post the message
* for receipt - no need to dive into the oob * for receipt - no need to dive into the oob
*/ */
@ -207,8 +205,6 @@ int orte_rml_oob_send_buffer_nb(struct orte_rml_base_module_t *mod,
return ORTE_ERR_BAD_PARAM; return ORTE_ERR_BAD_PARAM;
} }
OPAL_TIMING_EVENT((&tm_rml, "to %s", ORTE_NAME_PRINT(peer)));
/* if this is a message to myself, then just post the message /* if this is a message to myself, then just post the message
* for receipt - no need to dive into the oob * for receipt - no need to dive into the oob
*/ */