- ts->time_span.start_time = ltt_time_from_uint64(0);
- ts->time_span.end_time = ltt_time_from_uint64(0);
-
+ ts->time_span.start_time = ltt_time_zero;
+ ts->time_span.end_time = ltt_time_zero;
+ lttv_traceset_get_time_span_real(ts);
last_position.bt_pos = &pos;
last_position.timestamp = G_MAXUINT64;
last_position.cpu_id = INT_MAX;
last_position.bt_pos = &pos;
last_position.timestamp = G_MAXUINT64;
last_position.cpu_id = INT_MAX;
/* Assign iterator to the last event of the traces */
last_position.bt_pos->type = BT_SEEK_LAST;
last_position.iter = ts->iter;
/* Assign iterator to the last event of the traces */
last_position.bt_pos->type = BT_SEEK_LAST;
last_position.iter = ts->iter;
{
currentTrace = g_ptr_array_index(traceset->traces,i);
timestamp_cur = bt_trace_handle_get_timestamp_begin(bt_ctx,
{
currentTrace = g_ptr_array_index(traceset->traces,i);
timestamp_cur = bt_trace_handle_get_timestamp_begin(bt_ctx,
{
currentTrace = g_ptr_array_index(traceset->traces,i);
timestamp_cur = bt_trace_handle_get_timestamp_end(bt_ctx,
{
currentTrace = g_ptr_array_index(traceset->traces,i);
timestamp_cur = bt_trace_handle_get_timestamp_end(bt_ctx,
ts->time_span.start_time =ltt_time_from_uint64(
lttv_traceset_get_timestamp_begin(ts));
ts->time_span.end_time = ltt_time_from_uint64(
ts->time_span.start_time =ltt_time_from_uint64(
lttv_traceset_get_timestamp_begin(ts));
ts->time_span.end_time = ltt_time_from_uint64(
lttv_traceset_seek_to_position(&previous_pos);
/*We must desallocate because the function bt_iter_get_pos() does a g_new */
bt_iter_free_pos(previous_pos.bt_pos);
lttv_traceset_seek_to_position(&previous_pos);
/*We must desallocate because the function bt_iter_get_pos() does a g_new */
bt_iter_free_pos(previous_pos.bt_pos);