Fix some typos.
TBR=terelius@webrtc.org No-Try: True Bug: None Change-Id: I68cbaeb8bcac6d06e55018f273bb25cbca8d9aad Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146719 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28679}
This commit is contained in:
committed by
Commit Bot
parent
97b6c757bc
commit
604e75c458
@ -278,7 +278,7 @@ void AccumulatePairs(
|
|||||||
// Calculates a moving average of |data| and stores the result in a TimeSeries.
|
// Calculates a moving average of |data| and stores the result in a TimeSeries.
|
||||||
// A data point is generated every |step| microseconds from |begin_time|
|
// A data point is generated every |step| microseconds from |begin_time|
|
||||||
// to |end_time|. The value of each data point is the average of the data
|
// to |end_time|. The value of each data point is the average of the data
|
||||||
// during the preceeding |window_duration_us| microseconds.
|
// during the preceding |window_duration_us| microseconds.
|
||||||
template <typename DataType, typename ResultType, typename IterableType>
|
template <typename DataType, typename ResultType, typename IterableType>
|
||||||
void MovingAverage(
|
void MovingAverage(
|
||||||
rtc::FunctionView<absl::optional<ResultType>(const DataType&)> fy,
|
rtc::FunctionView<absl::optional<ResultType>(const DataType&)> fy,
|
||||||
@ -1268,7 +1268,7 @@ void EventLogAnalyzer::CreateSendSideBweSimulationGraph(Plot* plot) {
|
|||||||
FieldTrialBasedConfig field_trial_config_;
|
FieldTrialBasedConfig field_trial_config_;
|
||||||
// The event_log_visualizer should normally not be compiled with
|
// The event_log_visualizer should normally not be compiled with
|
||||||
// BWE_TEST_LOGGING_COMPILE_TIME_ENABLE since the normal plots won't work.
|
// BWE_TEST_LOGGING_COMPILE_TIME_ENABLE since the normal plots won't work.
|
||||||
// However, compiling with BWE_TEST_LOGGING, runnning with --plot_sendside_bwe
|
// However, compiling with BWE_TEST_LOGGING, running with --plot_sendside_bwe
|
||||||
// and piping the output to plot_dynamics.py can be used as a hack to get the
|
// and piping the output to plot_dynamics.py can be used as a hack to get the
|
||||||
// internal state of various BWE components. In this case, it is important
|
// internal state of various BWE components. In this case, it is important
|
||||||
// we don't instantiate the AcknowledgedBitrateEstimator both here and in
|
// we don't instantiate the AcknowledgedBitrateEstimator both here and in
|
||||||
@ -1473,7 +1473,7 @@ void EventLogAnalyzer::CreateNetworkDelayFeedbackGraph(Plot* plot) {
|
|||||||
|
|
||||||
// We assume that the base network delay (w/o queues) is equal to half
|
// We assume that the base network delay (w/o queues) is equal to half
|
||||||
// the minimum RTT. Therefore rescale the delays by subtracting the minimum
|
// the minimum RTT. Therefore rescale the delays by subtracting the minimum
|
||||||
// observed 1-ways delay and add half the minumum RTT.
|
// observed 1-ways delay and add half the minimum RTT.
|
||||||
const int64_t estimated_clock_offset_ms =
|
const int64_t estimated_clock_offset_ms =
|
||||||
min_send_receive_diff_ms - min_rtt_ms / 2;
|
min_send_receive_diff_ms - min_rtt_ms / 2;
|
||||||
for (TimeSeriesPoint& point : time_series.points)
|
for (TimeSeriesPoint& point : time_series.points)
|
||||||
|
|||||||
@ -39,7 +39,7 @@ class AnalyzerConfig {
|
|||||||
|
|
||||||
// Window and step size used for calculating moving averages, e.g. bitrate.
|
// Window and step size used for calculating moving averages, e.g. bitrate.
|
||||||
// The generated data points will be |step_| microseconds apart.
|
// The generated data points will be |step_| microseconds apart.
|
||||||
// Only events occuring at most |window_duration_| microseconds before the
|
// Only events occurring at most |window_duration_| microseconds before the
|
||||||
// current data point will be part of the average.
|
// current data point will be part of the average.
|
||||||
int64_t window_duration_;
|
int64_t window_duration_;
|
||||||
int64_t step_;
|
int64_t step_;
|
||||||
|
|||||||
Reference in New Issue
Block a user