when orte_timing is enabled, always record daemon launch start time before starting the real work.
This commit was SVN r24513.
Этот коммит содержится в:
родитель
37d145f5a7
Коммит
2a2319d23a
@ -10,7 +10,7 @@
|
|||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2006-2007 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2006-2007 Cisco Systems, Inc. All rights reserved.
|
||||||
* Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2007-2011 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
@ -164,6 +164,11 @@ static int plm_slurm_launch_job(orte_job_t *jdata)
|
|||||||
bool failed_launch=true;
|
bool failed_launch=true;
|
||||||
bool using_regexp=false;
|
bool using_regexp=false;
|
||||||
|
|
||||||
|
/* if we are timing, record the start time */
|
||||||
|
if (orte_timing) {
|
||||||
|
gettimeofday(&orte_plm_globals.daemonlaunchstart, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
if (NULL == jdata) {
|
if (NULL == jdata) {
|
||||||
/* just launching debugger daemons */
|
/* just launching debugger daemons */
|
||||||
active_job = ORTE_JOBID_INVALID;
|
active_job = ORTE_JOBID_INVALID;
|
||||||
@ -186,11 +191,6 @@ static int plm_slurm_launch_job(orte_job_t *jdata)
|
|||||||
return orte_plm_base_local_slave_launch(jdata);
|
return orte_plm_base_local_slave_launch(jdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if we are timing, record the start time */
|
|
||||||
if (orte_timing) {
|
|
||||||
gettimeofday(&orte_plm_globals.daemonlaunchstart, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* flag the daemons as failing by default */
|
/* flag the daemons as failing by default */
|
||||||
failed_job = ORTE_PROC_MY_NAME->jobid;
|
failed_job = ORTE_PROC_MY_NAME->jobid;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user