ir: add bt_ctf_event_get_clock_value()
[babeltrace.git] / include / babeltrace / ctf-ir / stream-internal.h
index 155794042d0eee1b89963d0e498ed9cd4257b2cd..dc392f4ad907fce01be034de6d089e7360aa1788 100644 (file)
@@ -44,13 +44,17 @@ struct bt_ctf_stream {
        GPtrArray *events;
        struct ctf_stream_pos pos;
        unsigned int flushed_packet_count;
+       GString *name;
        struct bt_ctf_field *packet_header;
        struct bt_ctf_field *packet_context;
-       struct bt_ctf_field *event_header;
-       struct bt_ctf_field *event_context;
+       GHashTable *clock_values; /* Maps clock addresses to (uint64_t *) */
 };
 
 BT_HIDDEN
 int bt_ctf_stream_set_fd(struct bt_ctf_stream *stream, int fd);
 
+BT_HIDDEN
+void bt_ctf_stream_update_clock_value(struct bt_ctf_stream *stream,
+               struct bt_ctf_field *value_field);
+
 #endif /* BABELTRACE_CTF_WRITER_STREAM_INTERNAL_H */
This page took 0.025085 seconds and 4 git commands to generate.