Change the type of propagation delta from int64 to int.

The delta value never exceeds the range of int. Changing it to int will save memory and copying cost.

BUG=2910
R=tommi@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/8549004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5537 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
jiayl@webrtc.org 2014-02-12 19:19:23 +00:00
parent 07b5950c12
commit de782180b0

View File

@ -48,11 +48,11 @@ struct ReceiveBandwidthEstimatorStats {
// |total_propagation_time_delta_ms| is the sum of the propagation_time_deltas
// of all received frames, except that it's is adjusted to 0 when it becomes
// negative.
int64_t total_propagation_time_delta_ms;
int total_propagation_time_delta_ms;
// The propagation_time_deltas for the frames arrived in the last
// kProcessIntervalMs using the clock passed to
// RemoteBitrateEstimatorFactory::Create.
std::vector<int64_t> recent_propagation_time_delta_ms;
std::vector<int> recent_propagation_time_delta_ms;
// The arrival times for the frames arrived in the last kProcessIntervalMs
// using the clock passed to RemoteBitrateEstimatorFactory::Create.
std::vector<int64_t> recent_arrival_time_ms;