Use priority heap to order by timestamp
[babeltrace.git] / include / babeltrace / ctf / metadata.h
index 25baa3a95395e43b5b3f1d9bd48baf4bc41ae59f..453c9f7085276de0b4ba5eb6798b475f5d6d7363 100644 (file)
@@ -96,6 +96,9 @@ struct ctf_trace {
        DIR *dir;
        int dirfd;
        int flags;              /* open flags */
+
+       /* Heap of streams, ordered to always get the lowest timestam */
+       struct ptr_heap *stream_heap;
 };
 
 #define CTF_STREAM_SET_FIELD(ctf_stream, field)                                \
This page took 0.022941 seconds and 4 git commands to generate.