pub(crate) fn observe_message_durations(
        &mut self,
        subnet_id: SubnetId,
        index_range: Range<StreamIndex>,
    ) {
        self.with_timeline(subnet_id, |t| t.observe(index_range));
    }
/// Observes message durations for all messages to/from `subnet_id` with
/// indices in the given `index_range`, as the time elapsed since the
/// respective matching timeline entries.
Observes message durations for all messages to/from `subnet_id` with
indices in the given `index_range`, as the time elapsed since the
respective matching timeline entries.
Observes message durations for all messages to / from ` subnet_id ` with indices in the given ` index_range ` as the time elapsed since the respective matching timeline entries .
pub(crate) fn observe_message_durations(
        &mut self,
        subnet_id: SubnetId,
        index_range: Range<StreamIndex>,
    ) {
        self.with_timeline(subnet_id, |t| t.observe(index_range));
    }
pub ( crate ) fn observe_message_durations ( & mut self , subnet_id : SubnetId , index_range : Range < StreamIndex > , ) { self . with_timeline ( subnet_id , | t | t . observe ( index_range ) ) ; }
Observes message durations for all messages to/from `subnet_id` with
indices in the given `index_range`, as the time elapsed since the
respective matching timeline entries.
Observes message durations for all messages to / from ` subnet_id ` with indices in the given ` index_range ` as the time elapsed since the respective matching timeline entries .
&mut self
subnet_id
SubnetId
index_range
Range<StreamIndex>
&mut self
subnet_id
SubnetId
index_range
Range<StreamIndex>