text output plugin: print time delta
[babeltrace.git] / plugins / text / text.h
index 2c846da8b4c6401398a0873bb6aee0ae1c2fd9f7..5697e2ee5e974c3c7a98d56dffcb4bd3acd09325 100644 (file)
@@ -70,11 +70,16 @@ struct text_component {
        struct text_options options;
        FILE *out, *err;
        bool processed_first_event;
-       uint64_t last_real_timestamp;
        int depth;      /* nesting, used for tabulation alignment. */
        bool start_line;
        GString *string;
        struct bt_value *plugin_opt_map;        /* Temporary parameter map. */
+
+       uint64_t last_cycles_timestamp;
+       uint64_t delta_cycles;
+
+       uint64_t last_real_timestamp;
+       uint64_t delta_real_timestamp;
 };
 
 BT_HIDDEN
This page took 0.022995 seconds and 4 git commands to generate.