Discarded event time range is between last packet event and timestamp_end
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index bf68c328b39be7da47e1f36afe02e6e52f3d530c..94de920cc060a4aef9ddd65ea1d08909d867df0b 100644 (file)
@@ -47,6 +47,12 @@ struct ctf_stream {
        GPtrArray *events_by_id;                /* Array of struct ctf_stream_event pointers indexed by id */
        struct definition_scope *parent_def_scope;      /* for initialization */
        int stream_definitions_created;
+
+       /* Event discarded information */
+       uint32_t events_discarded;
+       uint64_t prev_timestamp;        /* Last event */
+       uint64_t prev_timestamp_end;    /* End-of-packet timestamp */
+       
 };
 
 struct ctf_stream_event {
@@ -114,6 +120,7 @@ struct ctf_trace {
        GPtrArray *streams;                     /* Array of struct ctf_stream_class pointers */
        struct ctf_stream *metadata;
        GHashTable *clocks;
+       struct trace_collection *collection;    /* Container of this trace */
 
        struct declaration_struct *packet_header_decl;
 
This page took 0.022699 seconds and 4 git commands to generate.