X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fstream-internal.h;h=dc392f4ad907fce01be034de6d089e7360aa1788;hb=41ac640a35c8f7ec7ffdb1d069180315533e7353;hp=a39b1529108bfdbd511ab8162a0815f8c9c1548a;hpb=fa29ba839dc350d1e86ecc542a66b59a586e1ec1;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/stream-internal.h b/include/babeltrace/ctf-ir/stream-internal.h index a39b1529..dc392f4a 100644 --- a/include/babeltrace/ctf-ir/stream-internal.h +++ b/include/babeltrace/ctf-ir/stream-internal.h @@ -47,9 +47,14 @@ struct bt_ctf_stream { GString *name; struct bt_ctf_field *packet_header; struct bt_ctf_field *packet_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 */