Populate event header from mapped timestamp clock
[babeltrace.git] / include / babeltrace / ctf-ir / event-internal.h
index 5c712863a0bfc8c0f6cbcc4882fb7a2b3aa7432b..d26a9b990562050ed391b586661b41a4c5a94318 100644 (file)
@@ -50,7 +50,6 @@ struct bt_ctf_event_class {
 
 struct bt_ctf_event {
        struct bt_ctf_ref ref_count;
-       uint64_t timestamp;
        struct bt_ctf_event_class *event_class;
        struct bt_ctf_field *event_header;
        struct bt_ctf_field *context_payload;
@@ -68,6 +67,11 @@ BT_HIDDEN
 int bt_ctf_event_class_serialize(struct bt_ctf_event_class *event_class,
                struct metadata_context *context);
 
+BT_HIDDEN
+void bt_ctf_event_class_set_native_byte_order(
+               struct bt_ctf_event_class *event_class,
+               int byte_order);
+
 BT_HIDDEN
 int bt_ctf_event_validate(struct bt_ctf_event *event);
 
@@ -75,12 +79,6 @@ BT_HIDDEN
 int bt_ctf_event_serialize(struct bt_ctf_event *event,
                struct ctf_stream_pos *pos);
 
-BT_HIDDEN
-int bt_ctf_event_set_timestamp(struct bt_ctf_event *event, uint64_t timestamp);
-
-BT_HIDDEN
-uint64_t bt_ctf_event_get_timestamp(struct bt_ctf_event *event);
-
 /*
  * Attempt to populate the "id" and "timestamp" fields of the event header if
  * they are present, unset and their types are integers.
This page took 0.025792 seconds and 4 git commands to generate.