HPCToolkit
core_profile_trace_data.h
Go to the documentation of this file.
1
#ifndef CORE_PROFILE_TRACE_DATA_H
2
#define CORE_PROFILE_TRACE_DATA_H
3
4
#include <stdint.h>
5
#include <stdio.h>
6
#include <
lib/prof-lean/hpcio-buffer.h
>
7
#include <
lib/prof-lean/hpcfmt.h
>
// for metric_aux_info_t
8
9
#include "
epoch.h
"
10
#include "
cct2metrics.h
"
11
12
enum
perf_ksym_e
{
PERF_UNDEFINED
,
PERF_AVAILABLE
,
PERF_UNAVAILABLE
} ;
13
14
15
typedef
struct
core_profile_trace_data_t
{
16
int
id
;
17
// ----------------------------------------
18
// epoch: loadmap + cct + cct_ctxt
19
// ----------------------------------------
20
epoch_t
*
epoch
;
21
22
//metrics: this is needed otherwise
23
//hpcprof does not pick them up
24
cct2metrics_t
*
cct2metrics_map
;
25
26
// ----------------------------------------
27
// tracing
28
// ----------------------------------------
29
uint64_t
trace_min_time_us
;
30
uint64_t
trace_max_time_us
;
31
32
// ----------------------------------------
33
// IO support
34
// ----------------------------------------
35
FILE*
hpcrun_file
;
36
void
*
trace_buffer
;
37
hpcio_outbuf_t
trace_outbuf
;
38
39
// ----------------------------------------
40
// Perf support
41
// ----------------------------------------
42
43
metric_aux_info_t
*
perf_event_info
;
44
45
}
core_profile_trace_data_t
;
46
47
48
#endif
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
PERF_UNDEFINED
Definition:
core_profile_trace_data.h:12
core_profile_trace_data_t::perf_event_info
metric_aux_info_t * perf_event_info
Definition:
core_profile_trace_data.h:43
hpcfmt.h
core_profile_trace_data_t::trace_outbuf
hpcio_outbuf_t trace_outbuf
Definition:
core_profile_trace_data.h:37
PERF_AVAILABLE
Definition:
core_profile_trace_data.h:12
core_profile_trace_data_t
Definition:
core_profile_trace_data.h:15
metric_aux_info_s
Definition:
hpcfmt.h:344
cct2metrics_t
Definition:
cct2metrics.c:20
core_profile_trace_data_t::trace_buffer
void * trace_buffer
Definition:
core_profile_trace_data.h:36
hpcio_outbuf_s
Definition:
hpcio-buffer.h:58
epoch.h
cct2metrics.h
core_profile_trace_data_t::trace_max_time_us
uint64_t trace_max_time_us
Definition:
core_profile_trace_data.h:30
PERF_UNAVAILABLE
Definition:
core_profile_trace_data.h:12
core_profile_trace_data_t::id
int id
Definition:
core_profile_trace_data.h:16
epoch_t
Definition:
epoch.h:64
hpcio-buffer.h
core_profile_trace_data_t::epoch
epoch_t * epoch
Definition:
core_profile_trace_data.h:20
core_profile_trace_data_t::cct2metrics_map
cct2metrics_t * cct2metrics_map
Definition:
core_profile_trace_data.h:24
core_profile_trace_data_t::trace_min_time_us
uint64_t trace_min_time_us
Definition:
core_profile_trace_data.h:29
perf_ksym_e
perf_ksym_e
Definition:
core_profile_trace_data.h:12
core_profile_trace_data_t::hpcrun_file
FILE * hpcrun_file
Definition:
core_profile_trace_data.h:35
core_profile_trace_data_t
struct core_profile_trace_data_t core_profile_trace_data_t
src
tool
hpcrun
core_profile_trace_data.h
Generated by
1.8.13