OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

vprotocol_pessimist_eventlog_protocol.h
1 /*
2 * Copyright (c) 2004-2007 The Trustees of the University of Tennessee.
3 * All rights reserved.
4 * Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
5 * $COPYRIGHT$
6 *
7 * Additional copyrights may follow
8 *
9 * $HEADER$
10 */
11
12 #ifndef __VPROTOCOL_PESSIMIST_EVENTLOG_PROTOCOL_H__
13 #define __VPROTOCOL_PESSIMIST_EVENTLOG_PROTOCOL_H__
14
15 #include "vprotocol_pessimist_event.h"
16
17 BEGIN_C_DECLS
18
19 /** Enum containing the command tags to remotely control event loggers
20 */
21 typedef enum {
22 VPROTOCOL_PESSIMIST_EVENTLOG_CLOSE_SERVER_CMD,
23 VPROTOCOL_PESSIMIST_EVENTLOG_SAVE_SERVER_CMD,
24 VPROTOCOL_PESSIMIST_EVENTLOG_LOAD_SERVER_CMD,
25
26 VPROTOCOL_PESSIMIST_EVENTLOG_NEW_CLIENT_CMD,
27 VPROTOCOL_PESSIMIST_EVENTLOG_QUIT_CLIENT_CMD,
28
29 VPROTOCOL_PESSIMIST_EVENTLOG_PUT_EVENTS_CMD,
30 VPROTOCOL_PESSIMIST_EVENTLOG_GET_EVENTS_CMD,
31 VPROTOCOL_PESSIMIST_EVENTLOG_DEL_EVENTS_CMD,
32 VPROTOCOL_PESSIMIST_EVENTLOG_ACK
33 } vprotocol_pessimist_event_logger_command_t;
34
35 #define VPROTOCOL_EVENT_LOGGER_NAME_FMT "ompi_ft_event_logger[%d]"
36
37 static inline void vprotocol_pessimist_event_datatype_create(
38 MPI_Datatype *event_dtt)
39 {
40 MPI_Type_contiguous(2, MPI_UNSIGNED_LONG_LONG, event_dtt);
41 MPI_Type_commit(event_dtt);
42 }
43
44 END_C_DECLS
45
46 #endif /* __VPROTOCOL_PESSIMIST_EVENTLOG_PROTOCOL_H__ */
ompi_datatype_t
Definition: ompi_datatype.h:68