X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fformat.h;h=c3e7a209f7e785fc08a887a34c25d68f8dbae2ab;hp=b67dd5dc77298d434557f3fe3afe00a1bbd8e8cd;hb=30c276af575248a4f83e594c987264f6caa238ba;hpb=e003ab503def7b0db6c130cccbc03685adb32bbb diff --git a/include/babeltrace/format.h b/include/babeltrace/format.h index b67dd5dc..c3e7a209 100644 --- a/include/babeltrace/format.h +++ b/include/babeltrace/format.h @@ -62,6 +62,10 @@ struct format { struct bt_context *ctx); void (*set_handle)(struct trace_descriptor *descriptor, struct bt_trace_handle *handle); + uint64_t (*timestamp_begin)(struct trace_descriptor *descriptor, + struct bt_trace_handle *handle); + uint64_t (*timestamp_end)(struct trace_descriptor *descriptor, + struct bt_trace_handle *handle); }; extern struct format *bt_lookup_format(bt_intern_str qname);