const bt_trace *writer_trace,
const bt_stream_class *writer_stream_class,
const bt_trace *trace)
{
const bt_trace *writer_trace,
const bt_stream_class *writer_stream_class,
const bt_trace *trace)
{
int int_ret, clock_class_count, i;
clock_class_count = bt_trace_get_clock_class_count(trace);
int int_ret, clock_class_count, i;
clock_class_count = bt_trace_get_clock_class_count(trace);
const bt_stream_class *stream_class,
const bt_stream_class *writer_stream_class)
{
const bt_stream_class *stream_class,
const bt_stream_class *writer_stream_class)
{
const bt_event_class *event_class = NULL, *writer_event_class = NULL;
int count, i;
const bt_trace *writer_trace =
const bt_event_class *event_class = NULL, *writer_event_class = NULL;
int count, i;
const bt_trace *writer_trace =
const bt_field *event_header)
{
const bt_clock_class *clock_class = NULL, *writer_clock_class = NULL;
const bt_field *event_header)
{
const bt_clock_class *clock_class = NULL, *writer_clock_class = NULL;
- ret = bt_clock_value_get_value(clock_value, &value);
- BT_OBJECT_PUT_REF_AND_RESET(clock_value);
+ ret = bt_clock_snapshot_get_value(clock_snapshot, &value);
+ BT_OBJECT_PUT_REF_AND_RESET(clock_snapshot);
- ret = bt_event_set_clock_value(writer_event, writer_clock_value);
- BT_OBJECT_PUT_REF_AND_RESET(writer_clock_value);
+ ret = bt_event_set_clock_snapshot(writer_event, writer_clock_snapshot);
+ BT_OBJECT_PUT_REF_AND_RESET(writer_clock_snapshot);
int field_count, i, int_ret;
bt_field_type *header_type = NULL;
int field_count, i, int_ret;
bt_field_type *header_type = NULL;