Migrate call_perf_tests to new perf metrics export API
Bug: b/246095034 Change-Id: I23add90d8a70ae56e3c1c8b550276344645965ee Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/276625 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38202}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
b43e3bbd87
commit
14b42c20b0
@ -20,13 +20,13 @@
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "api/rtc_event_log/rtc_event_log.h"
|
||||
#include "api/task_queue/task_queue_base.h"
|
||||
#include "api/test/metrics/metric.h"
|
||||
#include "api/test/simulated_network.h"
|
||||
#include "call/call.h"
|
||||
#include "call/simulated_network.h"
|
||||
#include "rtc_base/event.h"
|
||||
#include "rtc_base/task_utils/repeating_task.h"
|
||||
#include "test/call_test.h"
|
||||
#include "test/testsupport/perf_test.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -68,8 +68,8 @@ class RampUpTester : public test::EndToEndTest {
|
||||
|
||||
void ReportResult(absl::string_view measurement,
|
||||
size_t value,
|
||||
absl::string_view units,
|
||||
test::ImproveDirection improve_direction) const;
|
||||
test::Unit unit,
|
||||
test::ImprovementDirection improvement_direction) const;
|
||||
void TriggerTestDone();
|
||||
|
||||
Clock* const clock_;
|
||||
@ -166,5 +166,6 @@ class RampUpDownUpTester : public RampUpTester {
|
||||
int sent_bytes_;
|
||||
std::vector<int> loss_rates_;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
#endif // CALL_RAMPUP_TESTS_H_
|
||||
|
||||
Reference in New Issue
Block a user