Discarded event time range is between last packet event and timestamp_end
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index ce5f8b9e477d7053d77aad852c02dc392d0f4b44..94de920cc060a4aef9ddd65ea1d08909d867df0b 100644 (file)
@@ -36,7 +36,6 @@ struct ctf_event;
 struct ctf_stream {
        struct ctf_stream_class *stream_class;
        uint64_t timestamp;                     /* Current timestamp, in ns */
-       uint64_t prev_timestamp;
        uint64_t event_id;                      /* Current event ID */
        int has_timestamp;
        uint64_t stream_id;
@@ -51,6 +50,8 @@ struct ctf_stream {
 
        /* Event discarded information */
        uint32_t events_discarded;
+       uint64_t prev_timestamp;        /* Last event */
+       uint64_t prev_timestamp_end;    /* End-of-packet timestamp */
        
 };
 
This page took 0.02272 seconds and 4 git commands to generate.