2005-06-28 01:21:15 +04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
* 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,
|
|
|
|
* 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$
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include <sys/time.h>
|
|
|
|
#include <time.h>
|
|
|
|
#include "include/types.h"
|
|
|
|
#include "mca/ns/base/base.h"
|
|
|
|
#include "mca/oob/base/base.h"
|
|
|
|
#include "mca/rml/rml.h"
|
|
|
|
#include "mca/errmgr/errmgr.h"
|
|
|
|
#include "dps/dps.h"
|
2005-06-30 09:50:55 +04:00
|
|
|
#include "btl_template.h"
|
|
|
|
#include "btl_template_endpoint.h"
|
|
|
|
#include "btl_template_proc.h"
|
|
|
|
#include "btl_template_frag.h"
|
2005-06-28 01:21:15 +04:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Initialize state of the endpoint instance.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2005-06-30 09:50:55 +04:00
|
|
|
static void mca_btl_template_endpoint_construct(mca_btl_base_endpoint_t* endpoint)
|
2005-06-28 01:21:15 +04:00
|
|
|
{
|
2005-06-30 09:50:55 +04:00
|
|
|
endpoint->endpoint_btl = 0;
|
2005-06-28 01:21:15 +04:00
|
|
|
endpoint->endpoint_proc = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Destroy a endpoint
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2005-06-30 09:50:55 +04:00
|
|
|
static void mca_btl_template_endpoint_destruct(mca_btl_base_endpoint_t* endpoint)
|
2005-06-28 01:21:15 +04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
OBJ_CLASS_INSTANCE(
|
2005-06-30 09:50:55 +04:00
|
|
|
mca_btl_template_endpoint_t,
|
2005-07-03 20:22:16 +04:00
|
|
|
opal_list_item_t,
|
2005-06-30 09:50:55 +04:00
|
|
|
mca_btl_template_endpoint_construct,
|
|
|
|
mca_btl_template_endpoint_destruct);
|
2005-06-28 01:21:15 +04:00
|
|
|
|