X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Ftrace-ir%2Fevent-internal.h;h=8e84596ad558235f20778c727b5f44fe25fb0c5c;hb=605e1019783967f33d86967e7c98dd52cbd69a4c;hp=1753f964d53d0caa9da8137e96b3ef548872584d;hpb=d6e69534ef08a2dd8bff9eb5af1eab63736b3d31;p=babeltrace.git diff --git a/include/babeltrace/trace-ir/event-internal.h b/include/babeltrace/trace-ir/event-internal.h index 1753f964..8e84596a 100644 --- a/include/babeltrace/trace-ir/event-internal.h +++ b/include/babeltrace/trace-ir/event-internal.h @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include @@ -63,7 +63,7 @@ struct bt_event { struct bt_field *common_context_field; struct bt_field *specific_context_field; struct bt_field *payload_field; - struct bt_clock_value *default_cv; + struct bt_clock_snapshot *default_cs; bool frozen; }; @@ -128,8 +128,8 @@ void bt_event_reset(struct bt_event *event) BT_LIB_LOGD("Resetting event: %!+e", event); bt_event_set_is_frozen(event, false); - if (event->default_cv) { - bt_clock_value_reset(event->default_cv); + if (event->default_cs) { + bt_clock_snapshot_reset(event->default_cs); } bt_object_put_no_null_check(&event->packet->base);