projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
text output plugin: print time delta
[babeltrace.git]
/
plugins
/
text
/
text.c
diff --git
a/plugins/text/text.c
b/plugins/text/text.c
index f5a62c63aeaa69ea82fb8758d7548f92e40c9589..89fa59901d63cac78c253175822b8e155d253017 100644
(file)
--- a/
plugins/text/text.c
+++ b/
plugins/text/text.c
@@
-613,6
+613,12
@@
enum bt_component_status text_component_init(
text->out = stdout;
text->err = stderr;
text->out = stdout;
text->err = stderr;
+ text->delta_cycles = -1ULL;
+ text->last_cycles_timestamp = -1ULL;
+
+ text->delta_real_timestamp = -1ULL;
+ text->last_real_timestamp = -1ULL;
+
ret = apply_params(text, params);
if (ret != BT_COMPONENT_STATUS_OK) {
goto error;
ret = apply_params(text, params);
if (ret != BT_COMPONENT_STATUS_OK) {
goto error;
This page took
0.023964 seconds
and
4
git commands to generate.