projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API : iterator get and set position
[babeltrace.git]
/
include
/
babeltrace
/
ctf-ir
/
metadata.h
diff --git
a/include/babeltrace/ctf-ir/metadata.h
b/include/babeltrace/ctf-ir/metadata.h
index d445a011c0bc2740a337e721b2e1873a190515d6..0e5842e4025e8658cab278fde68b2e93451ca0ad 100644
(file)
--- a/
include/babeltrace/ctf-ir/metadata.h
+++ b/
include/babeltrace/ctf-ir/metadata.h
@@
-32,6
+32,8
@@
struct ctf_trace;
struct ctf_stream_class;
struct ctf_stream;
struct ctf_event;
struct ctf_stream_class;
struct ctf_stream;
struct ctf_event;
+struct ctf_stream;
+struct ctf_clock;
struct ctf_stream {
struct ctf_stream_class *stream_class;
struct ctf_stream {
struct ctf_stream_class *stream_class;
@@
-39,6
+41,7
@@
struct ctf_stream {
uint64_t event_id; /* Current event ID */
int has_timestamp;
uint64_t stream_id;
uint64_t event_id; /* Current event ID */
int has_timestamp;
uint64_t stream_id;
+ int consumed; /* Last packet used by caller */
struct definition_struct *trace_packet_header;
struct definition_struct *stream_packet_context;
struct definition_struct *trace_packet_header;
struct definition_struct *stream_packet_context;
@@
-48,6
+51,8
@@
struct ctf_stream {
struct definition_scope *parent_def_scope; /* for initialization */
int stream_definitions_created;
struct definition_scope *parent_def_scope; /* for initialization */
int stream_definitions_created;
+ struct ctf_clock *current_clock;
+
/* Event discarded information */
uint32_t events_discarded;
uint64_t prev_timestamp; /* Last event */
/* Event discarded information */
uint32_t events_discarded;
uint64_t prev_timestamp; /* Last event */
@@
-91,6
+96,7
@@
struct ctf_clock {
enum { /* Fields populated mask */
CTF_CLOCK_name = (1U << 0),
enum { /* Fields populated mask */
CTF_CLOCK_name = (1U << 0),
+ CTF_CLOCK_freq = (1U << 1),
} field_mask;
};
} field_mask;
};
@@
-133,6
+139,7
@@
struct ctf_trace {
GPtrArray *streams; /* Array of struct ctf_stream_class pointers */
struct ctf_stream *metadata;
GHashTable *clocks;
GPtrArray *streams; /* Array of struct ctf_stream_class pointers */
struct ctf_stream *metadata;
GHashTable *clocks;
+ struct ctf_clock *single_clock; /* currently supports only one clock */
struct trace_collection *collection; /* Container of this trace */
struct declaration_struct *packet_header_decl;
struct trace_collection *collection; /* Container of this trace */
struct declaration_struct *packet_header_decl;
This page took
0.023929 seconds
and
4
git commands to generate.