1
1
openmpi/ompi/mca/ptl/prof/ptl_prof.h
Brian Barrett 566a050c23 Next step in the project split, mainly source code re-arranging
- move files out of toplevel include/ and etc/, moving it into the
    sub-projects
  - rather than including config headers with <project>/include, 
    have them as <project>
  - require all headers to be included with a project prefix, with
    the exception of the config headers ({opal,orte,ompi}_config.h
    mpi.h, and mpif.h)

This commit was SVN r8985.
2006-02-12 01:33:29 +00:00

63 строки
2.1 KiB
C

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Research Foundation. 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$
* */
/**
* * @file
* */
#ifndef PTL_PROF_H_HAS_BEEN_INCLUDED
#define PTL_PROF_H_HAS_BEEN_INCLUDED
#include "opal/event/event.h"
#include "ompi/mca/pml/pml.h"
#include "ompi/mca/ptl/ptl.h"
#include "ompi/mca/pml/base/pml_base_recvreq.h"
#include "ompi/mca/ptl/base/ptl_base_recvfrag.h"
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
typedef struct mca_ptl_prof mca_ptl_prof_t;
typedef struct mca_ptl_prof_module_1_0_0 mca_ptl_prof_module_1_0_0_t;
/**
* PROF PTL module.
*/
struct mca_ptl_prof_module_1_0_0 {
mca_ptl_base_component_t super; /**< base PTL module */
mca_ptl_prof_t** prof_ptls; /**< array of available PTLs */
uint32_t prof_num_ptls; /**< number of ptls actually used */
uint32_t prof_max_ptls; /**< maximum number of ptls - available kernel ifs */
uint32_t prof_buf_size; /**< the size of the internal buffer used to profile each PTL */
};
/**
* Profiling module.
*/
struct mca_ptl_prof {
mca_ptl_base_module_t super;
uint32_t prof_create_id;
uint32_t prof_start_send_id;
uint32_t prof_start_recv_id;
uint32_t prof_complete_id;
};
OBJ_CLASS_DECLARATION(mca_ptl_prof_t);
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
#endif /* PTL_PROF_H_HAS_BEEN_INCLUDED */