11 #include "ompi_config.h"
14 #include "opal_stdint.h"
16 #ifndef __INCLUDE_VPROTOCOL_PESSIMIST_EVENT_H__
17 #define __INCLUDE_VPROTOCOL_PESSIMIST_EVENT_H__
22 typedef uint64_t vprotocol_pessimist_clock_t;
23 #define PRIpclock PRIx64
26 VPROTOCOL_PESSIMIST_EVENT_TYPE_MATCHING,
27 VPROTOCOL_PESSIMIST_EVENT_TYPE_DELIVERY
28 } vprotocol_pessimist_event_type_t;
31 vprotocol_pessimist_clock_t reqid;
36 vprotocol_pessimist_clock_t probeid;
37 vprotocol_pessimist_clock_t reqid;
47 vprotocol_pessimist_event_type_t type;
55 #define VPESSIMIST_MATCHING_EVENT_NEW(event) do { \
56 ompi_free_list_item_t *item; \
58 OMPI_FREE_LIST_WAIT(&mca_vprotocol_pessimist.events_pool, item, rc); \
59 event = (mca_vprotocol_pessimist_event_t *) item; \
60 event->type = VPROTOCOL_PESSIMIST_EVENT_TYPE_MATCHING; \
61 event->u_event.e_matching.src = -1; \
64 #define VPESSIMIST_DELIVERY_EVENT_NEW(event) do { \
65 ompi_free_list_item_t *item; \
67 OMPI_FREE_LIST_WAIT(&mca_vprotocol_pessimist.events_pool, item, rc); \
68 event = (mca_vprotocol_pessimist_event_t *) item; \
69 event->type = VPROTOCOL_PESSIMIST_EVENT_TYPE_DELIVERY; \
72 #define VPESSIMIST_EVENT_RETURN(event) \
73 OMPI_FREE_LIST_RETURN(&mca_vprotocol_pessimist.events_pool, \
74 (ompi_free_list_item_t *) event)
Definition: vprotocol_pessimist_event.h:35
This file presents the MCA parameter interface.
Definition: vprotocol_pessimist_event.h:40
Definition: vprotocol_pessimist_event.h:45
Definition: vprotocol_pessimist_event.h:30
Definition: ompi_free_list.h:62
Type of request.
Definition: pml_base_request.h:57
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236