@pre
<code>bt_stream_class_discarded_events_have_default_clock_snapshots(bt_stream_borrow_class_const(stream))</code>
returns #BT_TRUE.
+ \bt_p{beginning_clock_snapshot_value} ⩽ \bt_p{end_clock_snapshot_value}
@bt_post_success_frozen{stream}
*/
@bt_pre_not_null{message}
@bt_pre_hot{message}
@bt_pre_is_disc_ev_msg{message}
+@pre
+ \bt_p{count} > 0
@sa bt_message_discarded_events_get_count() —
Returns the number of discarded events of a discarded events
@pre
<code>bt_stream_class_discarded_packets_have_default_clock_snapshots(bt_stream_borrow_class_const(stream))</code>
returns #BT_TRUE.
+ \bt_p{beginning_clock_snapshot_value} ⩽ \bt_p{end_clock_snapshot_value}
@bt_post_success_frozen{stream}
*/
@bt_pre_not_null{message}
@bt_pre_hot{message}
@bt_pre_is_disc_pkt_msg{message}
+@pre
+ \bt_p{count} > 0
@sa bt_message_discarded_packets_get_count() —
Returns the number of discarded packets of a discarded packets