Handle negative time and offset from Epoch
[babeltrace.git] / include / babeltrace / ctf / types.h
index cc8acbf5ef173e3b3e413a21b6d528b9149d5720..39591c6f2ca34dc07e57ea4e68abdc7b20e66d5f 100644 (file)
@@ -45,8 +45,8 @@
 struct bt_stream_callbacks;
 
 struct packet_index_time {
 struct bt_stream_callbacks;
 
 struct packet_index_time {
-       uint64_t timestamp_begin;
-       uint64_t timestamp_end;
+       int64_t timestamp_begin;
+       int64_t timestamp_end;
 };
 
 struct packet_index {
 };
 
 struct packet_index {
@@ -246,7 +246,7 @@ void ctf_pos_get_event(struct ctf_stream_pos *pos)
 }
 
 void ctf_print_timestamp(FILE *fp, struct ctf_stream_definition *stream,
 }
 
 void ctf_print_timestamp(FILE *fp, struct ctf_stream_definition *stream,
-                       uint64_t timestamp);
+                       int64_t timestamp);
 int ctf_append_trace_metadata(struct bt_trace_descriptor *tdp,
                        FILE *metadata_fp);
 
 int ctf_append_trace_metadata(struct bt_trace_descriptor *tdp,
                        FILE *metadata_fp);
 
This page took 0.023511 seconds and 4 git commands to generate.