Skip to content

Commit 592e2cc

Browse files
authored
Merge pull request #6072 from kawashima-fj/pr/timing
ess/pmi: Fix `--enable-timing` compilation error
2 parents fb6655a + 8e7d874 commit 592e2cc

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

orte/mca/ess/pmi/ess_pmi_module.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* and Technology (RIST). All rights reserved.
1818
* Copyright (c) 2018 Mellanox Technologies, Inc.
1919
* All rights reserved.
20+
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
2021
* $COPYRIGHT$
2122
*
2223
* Additional copyrights may follow
@@ -464,15 +465,15 @@ static int rte_init(void)
464465
error = "orte_state_base_select";
465466
goto error;
466467
}
467-
OPAL_TIMING_ENV_NEXT(ess_base_setup, "state_framework_open");
468+
OPAL_TIMING_ENV_NEXT(rte_init, "state_framework_open");
468469

469470
/* open the errmgr */
470471
if (ORTE_SUCCESS != (ret = mca_base_framework_open(&orte_errmgr_base_framework, 0))) {
471472
ORTE_ERROR_LOG(ret);
472473
error = "orte_errmgr_base_open";
473474
goto error;
474475
}
475-
OPAL_TIMING_ENV_NEXT(ess_base_setup, "errmgr_framework_open");
476+
OPAL_TIMING_ENV_NEXT(rte_init, "errmgr_framework_open");
476477

477478
/* setup my session directory */
478479
if (orte_create_session_dirs) {
@@ -508,7 +509,7 @@ static int rte_init(void)
508509
}
509510
}
510511
}
511-
OPAL_TIMING_ENV_NEXT(ess_base_setup, "create_session_dirs");
512+
OPAL_TIMING_ENV_NEXT(rte_init, "create_session_dirs");
512513

513514
/* if we have info on the HNP and local daemon, process it */
514515
if (NULL != orte_process_info.my_hnp_uri) {
@@ -560,7 +561,7 @@ static int rte_init(void)
560561
error = "orte_errmgr_base_select";
561562
goto error;
562563
}
563-
OPAL_TIMING_ENV_NEXT(ess_base_setup, "errmgr_select");
564+
OPAL_TIMING_ENV_NEXT(rte_init, "errmgr_select");
564565

565566
/* setup process binding */
566567
if (ORTE_SUCCESS != (ret = orte_ess_base_proc_binding())) {

orte/mca/ess/singleton/ess_singleton_module.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -321,15 +321,13 @@ static int rte_init(void)
321321
error = "orte_state_base_select";
322322
goto error;
323323
}
324-
OPAL_TIMING_ENV_NEXT(ess_base_setup, "state_framework_open");
325324

326325
/* open the errmgr */
327326
if (ORTE_SUCCESS != (ret = mca_base_framework_open(&orte_errmgr_base_framework, 0))) {
328327
ORTE_ERROR_LOG(ret);
329328
error = "orte_errmgr_base_open";
330329
goto error;
331330
}
332-
OPAL_TIMING_ENV_NEXT(ess_base_setup, "errmgr_framework_open");
333331

334332
/* setup my session directory */
335333
if (orte_create_session_dirs) {
@@ -365,7 +363,6 @@ static int rte_init(void)
365363
}
366364
}
367365
}
368-
OPAL_TIMING_ENV_NEXT(ess_base_setup, "create_session_dirs");
369366

370367
/* if we have info on the HNP and local daemon, process it */
371368
if (NULL != orte_process_info.my_hnp_uri) {
@@ -417,14 +414,12 @@ static int rte_init(void)
417414
error = "orte_errmgr_base_select";
418415
goto error;
419416
}
420-
OPAL_TIMING_ENV_NEXT(ess_base_setup, "errmgr_select");
421417

422418
/* setup process binding */
423419
if (ORTE_SUCCESS != (ret = orte_ess_base_proc_binding())) {
424420
error = "proc_binding";
425421
goto error;
426422
}
427-
OPAL_TIMING_ENV_NEXT(rte_init, "ess_base_proc_binding");
428423

429424
/* this needs to be set to enable debugger use when direct launched */
430425
if (NULL == orte_process_info.my_daemon_uri) {
@@ -463,7 +458,6 @@ static int rte_init(void)
463458
goto error;
464459
}
465460
}
466-
OPAL_TIMING_ENV_NEXT(rte_init, "rte_init_done");
467461

468462
return ORTE_SUCCESS;
469463

0 commit comments

Comments
 (0)