1
1

Add a trace utility that provides info on progress through functions. This is not enabled yet - need Jeff or Brian to add it to the configure/build system.

This commit was SVN r7222.
Этот коммит содержится в:
Ralph Castain
2005-09-07 18:52:28 +00:00
родитель b31c2f8e77
Коммит 2c6e47e38c
6 изменённых файлов: 129 добавлений и 18 удалений

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

@ -3,14 +3,14 @@
* All rights reserved.
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* $COPYRIGHT$
*
*
* Additional copyrights may follow
*
*
* $HEADER$
*/
@ -20,6 +20,7 @@
#include "opal/util/malloc.h"
#include "opal/util/output.h"
#include "opal/util/trace.h"
#include "opal/memory/memory.h"
#include "opal/mca/base/base.h"
#include "opal/runtime/opal.h"
@ -29,7 +30,7 @@
#include "opal/include/constants.h"
#include "opal/util/error.h"
static const char *
opal_err2str(int errnum)
{
@ -51,7 +52,7 @@ opal_err2str(int errnum)
case OPAL_ERR_BAD_PARAM:
retval = "Bad parameter";
break;
default:
default:
retval = NULL;
}
@ -65,7 +66,7 @@ opal_err2str(int errnum)
* @retval OPAL_SUCCESS Upon success.
* @retval OPAL_ERROR Upon failure.
*
* This function performs
* This function performs
*/
int opal_init(void)
{
@ -75,6 +76,9 @@ int opal_init(void)
/* initialize the output system */
opal_output_init();
/* init the trace function */
opal_trace_init();
/* initialize the memory manager / tracker */
opal_mem_free_init();