Searched refs:LossAccount (Results 1 – 3 of 3) sorted by relevance
37 struct LossAccount { struct38 LossAccount() : num_total(0), num_lost(0) {} in LossAccount() argument39 LossAccount(size_t num_total, size_t num_lost) in LossAccount() argument41 void Add(LossAccount rhs);42 void Subtract(LossAccount rhs);168 LossAccount LinkedSetPacketLossRatio();171 LossAccount loss_account_;
153 LossAccount BweReceiver::LinkedSetPacketLossRatio() { in LinkedSetPacketLossRatio()155 return LossAccount(); in LinkedSetPacketLossRatio()167 return LossAccount(set_total_packets, set_lost_packets); in LinkedSetPacketLossRatio()263 void LossAccount::Add(LossAccount rhs) { in Add()267 void LossAccount::Subtract(LossAccount rhs) { in Subtract()272 float LossAccount::LossRatio() { in LossRatio()
110 LossAccount loss_account_;117 LossAccount rhs(kTotal, kLost); in TEST_F()365 LossAccount loss_account = bwe_receiver_.LinkedSetPacketLossRatio(); in TEST_F()