Flip histograms to true by default, fix unit in isac_fix_test.
Requires downstream changes for all WebRTC perf tests, and a corresponding recipe change so isac_fix_test starts using the new flow. Bug: chromium:1029452 Change-Id: I8918fca9bef003d365037c1c6bf7c55747dfed99 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170633 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30906}
This commit is contained in:

committed by
Commit Bot

parent
6cf428fb40
commit
7b201012bc
@ -105,7 +105,7 @@ TEST(IsacFixTest, Kenny) {
|
||||
FILE *inp, *outp, *f_bn, *outbits;
|
||||
int endfile;
|
||||
|
||||
const char* chartjson_result_file = NULL;
|
||||
const char* perf_result_file = NULL;
|
||||
|
||||
int i;
|
||||
int errtype, h = 0, k, packetLossPercent = 0;
|
||||
@ -459,7 +459,7 @@ TEST(IsacFixTest, Kenny) {
|
||||
printf("Expected --isolated_script_test_perf_output=/some/filename\n");
|
||||
exit(1);
|
||||
}
|
||||
chartjson_result_file = filename_start + 1;
|
||||
perf_result_file = filename_start + 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -858,10 +858,10 @@ TEST(IsacFixTest, Kenny) {
|
||||
|
||||
// Record the results with Perf test tools.
|
||||
webrtc::test::PrintResult("isac", "", "time_per_10ms_frame",
|
||||
(runtime * 10000) / length_file, "us", false);
|
||||
(runtime * 10) / length_file, "ms", false);
|
||||
|
||||
if (chartjson_result_file) {
|
||||
EXPECT_TRUE(webrtc::test::WritePerfResults(chartjson_result_file));
|
||||
if (perf_result_file) {
|
||||
EXPECT_TRUE(webrtc::test::WritePerfResults(perf_result_file));
|
||||
}
|
||||
|
||||
fclose(inp);
|
||||
|
Reference in New Issue
Block a user