webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::testing::bwe::MetricRecorder Class Reference

#include <metric_recorder.h>

Public Member Functions

 MetricRecorder (const std::string algorithm_name, int flow_id, PacketSender *packet_sender, LinkShare *link_share)
 
void SetPlotInformation (const std::vector< std::string > &prefixes, bool plot_delay, bool plot_loss)
 
template<typename T >
void PlotLine (int windows_id, const std::string &prefix, int64_t time_ms, T y)
 
void PlotDynamics (int metric)
 
void PlotAllDynamics ()
 
void UpdateTimeMs (int64_t time_ms)
 
void UpdateThroughput (int64_t bitrate_kbps, size_t payload_size)
 
void UpdateSendingEstimateKbps (int64_t bitrate_kbps)
 
void UpdateDelayMs (int64_t delay_ms)
 
void UpdateLoss (float loss_ratio)
 
void UpdateObjective ()
 
void PlotThroughputHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows, int64_t extra_offset_ms, const std::string optimum_id) const
 
void PlotThroughputHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows, int64_t extra_offset_ms) const
 
void PlotDelayHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows, int64_t one_way_path_delay_ms) const
 
void PlotLossHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows, float global_loss_ratio) const
 
void PlotObjectiveHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows) const
 
void set_start_computing_metrics_ms (int64_t start_computing_metrics_ms)
 
void set_plot_available_capacity (bool plot)
 
void PauseFlow ()
 
void ResumeFlow (int64_t paused_time_ms)
 
void PlotZero ()
 
 MetricRecorder (const std::string algorithm_name, int flow_id, PacketSender *packet_sender, LinkShare *link_share)
 
void SetPlotInformation (const std::vector< std::string > &prefixes, bool plot_delay, bool plot_loss)
 
template<typename T >
void PlotLine (int windows_id, const std::string &prefix, int64_t time_ms, T y)
 
void PlotDynamics (int metric)
 
void PlotAllDynamics ()
 
void UpdateTimeMs (int64_t time_ms)
 
void UpdateThroughput (int64_t bitrate_kbps, size_t payload_size)
 
void UpdateSendingEstimateKbps (int64_t bitrate_kbps)
 
void UpdateDelayMs (int64_t delay_ms)
 
void UpdateLoss (float loss_ratio)
 
void UpdateObjective ()
 
void PlotThroughputHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows, int64_t extra_offset_ms, const std::string optimum_id) const
 
void PlotThroughputHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows, int64_t extra_offset_ms) const
 
void PlotDelayHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows, int64_t one_way_path_delay_ms) const
 
void PlotLossHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows, float global_loss_ratio) const
 
void PlotObjectiveHistogram (const std::string &title, const std::string &bwe_name, size_t num_flows) const
 
void set_start_computing_metrics_ms (int64_t start_computing_metrics_ms)
 
void set_plot_available_capacity (bool plot)
 
void PauseFlow ()
 
void ResumeFlow (int64_t paused_time_ms)
 
void PlotZero ()
 

Constructor & Destructor Documentation

◆ MetricRecorder() [1/2]

webrtc::testing::bwe::MetricRecorder::MetricRecorder ( const std::string  algorithm_name,
int  flow_id,
PacketSender packet_sender,
LinkShare link_share 
)

◆ MetricRecorder() [2/2]

webrtc::testing::bwe::MetricRecorder::MetricRecorder ( const std::string  algorithm_name,
int  flow_id,
PacketSender packet_sender,
LinkShare link_share 
)

Member Function Documentation

◆ PauseFlow() [1/2]

void webrtc::testing::bwe::MetricRecorder::PauseFlow ( )

◆ PauseFlow() [2/2]

void webrtc::testing::bwe::MetricRecorder::PauseFlow ( )

◆ PlotAllDynamics() [1/2]

void webrtc::testing::bwe::MetricRecorder::PlotAllDynamics ( )

◆ PlotAllDynamics() [2/2]

void webrtc::testing::bwe::MetricRecorder::PlotAllDynamics ( )

◆ PlotDelayHistogram() [1/2]

void webrtc::testing::bwe::MetricRecorder::PlotDelayHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows,
int64_t  one_way_path_delay_ms 
) const

◆ PlotDelayHistogram() [2/2]

void webrtc::testing::bwe::MetricRecorder::PlotDelayHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows,
int64_t  one_way_path_delay_ms 
) const

◆ PlotDynamics() [1/2]

void webrtc::testing::bwe::MetricRecorder::PlotDynamics ( int  metric)

◆ PlotDynamics() [2/2]

void webrtc::testing::bwe::MetricRecorder::PlotDynamics ( int  metric)

◆ PlotLine() [1/2]

template<typename T >
void webrtc::testing::bwe::MetricRecorder::PlotLine ( int  windows_id,
const std::string prefix,
int64_t  time_ms,
T  y 
)

◆ PlotLine() [2/2]

template<typename T >
void webrtc::testing::bwe::MetricRecorder::PlotLine ( int  windows_id,
const std::string prefix,
int64_t  time_ms,
T  y 
)

◆ PlotLossHistogram() [1/2]

void webrtc::testing::bwe::MetricRecorder::PlotLossHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows,
float  global_loss_ratio 
) const

◆ PlotLossHistogram() [2/2]

void webrtc::testing::bwe::MetricRecorder::PlotLossHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows,
float  global_loss_ratio 
) const

◆ PlotObjectiveHistogram() [1/2]

void webrtc::testing::bwe::MetricRecorder::PlotObjectiveHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows 
) const

◆ PlotObjectiveHistogram() [2/2]

void webrtc::testing::bwe::MetricRecorder::PlotObjectiveHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows 
) const

◆ PlotThroughputHistogram() [1/4]

void webrtc::testing::bwe::MetricRecorder::PlotThroughputHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows,
int64_t  extra_offset_ms,
const std::string  optimum_id 
) const

◆ PlotThroughputHistogram() [2/4]

void webrtc::testing::bwe::MetricRecorder::PlotThroughputHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows,
int64_t  extra_offset_ms,
const std::string  optimum_id 
) const

◆ PlotThroughputHistogram() [3/4]

void webrtc::testing::bwe::MetricRecorder::PlotThroughputHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows,
int64_t  extra_offset_ms 
) const

◆ PlotThroughputHistogram() [4/4]

void webrtc::testing::bwe::MetricRecorder::PlotThroughputHistogram ( const std::string title,
const std::string bwe_name,
size_t  num_flows,
int64_t  extra_offset_ms 
) const

◆ PlotZero() [1/2]

void webrtc::testing::bwe::MetricRecorder::PlotZero ( )

◆ PlotZero() [2/2]

void webrtc::testing::bwe::MetricRecorder::PlotZero ( )

◆ ResumeFlow() [1/2]

void webrtc::testing::bwe::MetricRecorder::ResumeFlow ( int64_t  paused_time_ms)

◆ ResumeFlow() [2/2]

void webrtc::testing::bwe::MetricRecorder::ResumeFlow ( int64_t  paused_time_ms)

◆ set_plot_available_capacity() [1/2]

void webrtc::testing::bwe::MetricRecorder::set_plot_available_capacity ( bool  plot)
inline

◆ set_plot_available_capacity() [2/2]

void webrtc::testing::bwe::MetricRecorder::set_plot_available_capacity ( bool  plot)
inline

◆ set_start_computing_metrics_ms() [1/2]

void webrtc::testing::bwe::MetricRecorder::set_start_computing_metrics_ms ( int64_t  start_computing_metrics_ms)
inline

◆ set_start_computing_metrics_ms() [2/2]

void webrtc::testing::bwe::MetricRecorder::set_start_computing_metrics_ms ( int64_t  start_computing_metrics_ms)
inline

◆ SetPlotInformation() [1/2]

void webrtc::testing::bwe::MetricRecorder::SetPlotInformation ( const std::vector< std::string > &  prefixes,
bool  plot_delay,
bool  plot_loss 
)

◆ SetPlotInformation() [2/2]

void webrtc::testing::bwe::MetricRecorder::SetPlotInformation ( const std::vector< std::string > &  prefixes,
bool  plot_delay,
bool  plot_loss 
)

◆ UpdateDelayMs() [1/2]

void webrtc::testing::bwe::MetricRecorder::UpdateDelayMs ( int64_t  delay_ms)

◆ UpdateDelayMs() [2/2]

void webrtc::testing::bwe::MetricRecorder::UpdateDelayMs ( int64_t  delay_ms)

◆ UpdateLoss() [1/2]

void webrtc::testing::bwe::MetricRecorder::UpdateLoss ( float  loss_ratio)

◆ UpdateLoss() [2/2]

void webrtc::testing::bwe::MetricRecorder::UpdateLoss ( float  loss_ratio)

◆ UpdateObjective() [1/2]

void webrtc::testing::bwe::MetricRecorder::UpdateObjective ( )

◆ UpdateObjective() [2/2]

void webrtc::testing::bwe::MetricRecorder::UpdateObjective ( )

◆ UpdateSendingEstimateKbps() [1/2]

void webrtc::testing::bwe::MetricRecorder::UpdateSendingEstimateKbps ( int64_t  bitrate_kbps)

◆ UpdateSendingEstimateKbps() [2/2]

void webrtc::testing::bwe::MetricRecorder::UpdateSendingEstimateKbps ( int64_t  bitrate_kbps)

◆ UpdateThroughput() [1/2]

void webrtc::testing::bwe::MetricRecorder::UpdateThroughput ( int64_t  bitrate_kbps,
size_t  payload_size 
)

◆ UpdateThroughput() [2/2]

void webrtc::testing::bwe::MetricRecorder::UpdateThroughput ( int64_t  bitrate_kbps,
size_t  payload_size 
)

◆ UpdateTimeMs() [1/2]

void webrtc::testing::bwe::MetricRecorder::UpdateTimeMs ( int64_t  time_ms)

◆ UpdateTimeMs() [2/2]

void webrtc::testing::bwe::MetricRecorder::UpdateTimeMs ( int64_t  time_ms)

The documentation for this class was generated from the following files: