Get rid of clock-raw and use real clock
[babeltrace.git] / include / babeltrace / ctf-text / types.h
index bb837bcd5e671bbd5c4d30164cd5d22dd53fce41..b9c9cc30dfb79f296579268526331283baa8df02 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdint.h>
 #include <unistd.h>
 #include <glib.h>
-#include <babeltrace/babeltrace.h>
+#include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/types.h>
 #include <babeltrace/format.h>
 
@@ -38,6 +38,10 @@ struct ctf_text_stream_pos {
        int depth;
        int dummy;              /* disable output */
        int print_names;        /* print field names */
+       int field_nr;
+       uint64_t last_real_timestamp;   /* to print delta */
+       uint64_t last_cycles_timestamp; /* to print delta */
+       GString *string;        /* Current string */
 };
 
 static inline
@@ -67,4 +71,9 @@ void print_pos_tabs(struct ctf_text_stream_pos *pos)
                fprintf(pos->fp, "\t");
 }
 
+/*
+ * Check if the field must be printed.
+ */
+int print_field(struct definition *definition);
+
 #endif /* _BABELTRACE_CTF_TEXT_TYPES_H */
This page took 0.023624 seconds and 4 git commands to generate.