OpenMPI 0.1.1

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

- File List
- Globals

vt_otf_sum.h
1 /**
2 * VampirTrace
3 * http://www.tu-dresden.de/zih/vampirtrace
4 *
5 * Copyright (c) 2005-2012, ZIH, TU Dresden, Federal Republic of Germany
6 *
7 * Copyright (c) 1998-2005, Forschungszentrum Juelich, Juelich Supercomputing
8 * Centre, Federal Republic of Germany
9 *
10 * See the file COPYING in the package base directory for details
11 **/
12
13 #ifndef _VT_OTF_SUM_H
14 #define _VT_OTF_SUM_H
15
16 #ifdef __cplusplus
17 # define EXTERN extern "C"
18 #else
19 # define EXTERN extern
20 #endif
21
22 #include <stdlib.h>
23 #include <stdio.h>
24
25 #include "vt_defs.h"
26
27 /*
28 *-----------------------------------------------------------------------------
29 * Typedefs (to make data types opaque)
30 *-----------------------------------------------------------------------------
31 */
32
33 /* Trace summary generated at run time */
34 typedef struct VTSum_struct VTSum;
35
36 /*
37 *-----------------------------------------------------------------------------
38 * VTSum
39 *-----------------------------------------------------------------------------
40 */
41
42 EXTERN VTSum* VTSum_open ( VTGen* gen, uint32_t tid );
43
44 EXTERN void VTSum_dump ( VTSum* sum, uint64_t* time,
45 uint8_t markDump );
46
47 EXTERN void VTSum_close ( VTSum* sum );
48
49 EXTERN void VTSum_delete ( VTSum* sum );
50
51 #define VTSum_destroy(sum) VTSum_delete( sum )
52
53 /* -- Region -- */
54
55 EXTERN void VTSum_enter ( VTSum* sum, uint64_t* time,
56 uint32_t rid );
57
58 EXTERN void VTSum_exit ( VTSum* sum, uint64_t* time,
59 uint32_t rid );
60
61 /* -- Message -- */
62
63 EXTERN void VTSum_msg_send ( VTSum* sum, uint64_t* time,
64 uint32_t dpid, uint32_t cid,
65 uint32_t tag, uint64_t sent );
66
67 EXTERN void VTSum_msg_recv ( VTSum* sum, uint64_t* time,
68 uint32_t spid, uint32_t cid,
69 uint32_t tag, uint64_t recvd );
70
71 /* -- Collop -- */
72
73 EXTERN void VTSum_collop ( VTSum*sum, uint64_t* time,
74 uint32_t rid, uint32_t cid,
75 uint64_t sent, uint64_t recvd );
76
77 /* -- File I/O -- */
78
79 EXTERN void VTSum_fileop_open ( VTSum* sum, uint64_t* time,
80 uint32_t fid );
81
82 EXTERN void VTSum_fileop_close ( VTSum* sum, uint64_t* time,
83 uint32_t fid );
84
85 EXTERN void VTSum_fileop_read ( VTSum* sum, uint64_t* time,
86 uint32_t fid, uint64_t read );
87
88 EXTERN void VTSum_fileop_write ( VTSum* sum, uint64_t* time,
89 uint32_t fid, uint64_t wrote );
90
91 EXTERN void VTSum_fileop_seek ( VTSum* sum, uint64_t* time,
92 uint32_t fid );
93
94 #endif /* _VT_OTF_SUM_H */
VTSum_struct
Definition: vt_otf_sum.c:280
VTGen_struct
Definition: vt_otf_gen.c:90