clock: use freq field
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index d445a011c0bc2740a337e721b2e1873a190515d6..79af77a768c0dda06e02023ba25850a8bde41dac 100644 (file)
@@ -32,6 +32,8 @@ struct ctf_trace;
 struct ctf_stream_class;
 struct ctf_stream;
 struct ctf_event;
+struct ctf_stream;
+struct ctf_clock;
 
 struct ctf_stream {
        struct ctf_stream_class *stream_class;
@@ -48,6 +50,8 @@ struct ctf_stream {
        struct definition_scope *parent_def_scope;      /* for initialization */
        int stream_definitions_created;
 
+       struct ctf_clock *current_clock;
+
        /* Event discarded information */
        uint32_t events_discarded;
        uint64_t prev_timestamp;        /* Last event */
@@ -133,6 +137,7 @@ struct ctf_trace {
        GPtrArray *streams;                     /* Array of struct ctf_stream_class pointers */
        struct ctf_stream *metadata;
        GHashTable *clocks;
+       struct ctf_clock *single_clock;         /* currently supports only one clock */
        struct trace_collection *collection;    /* Container of this trace */
 
        struct declaration_struct *packet_header_decl;
This page took 0.02196 seconds and 4 git commands to generate.