ark::distill::MsgSummaryTimestamps

Defined in header “ark/distill/stages/summary_msg_stage.hh”.


Helper structure for capturing stats on Timestamps.

Methods

  • void reset()
    Reset values.

  • void update(const std::chrono::steady_clock::time_point & new_time, const std::chrono::steady_clock::time_point & platform_time_point)
    Update with new timestamp.

  • double get_total_duration()
    Calculate the total duration.

  • MessageRateStats transform()
    Transform into an rbuf MessageRateStats.

Variables

  • metrics::SummaryStats< uint64_t > duration_stats_

  • std::chrono::steady_clock::time_point last_timestamp_

  • std::chrono::steady_clock::time_point first_timestamp_

  • uint64_t msg_count_= 0