Fix perf output for audioproc and iSAC fixed-point tests
The measurement and trace entries had been mixed up in the calls to webrtc::test::PrintResult, resulting in the plotted graphs were named after the metric. The parameter names are quite confusing which probably led to this. BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/1093007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3496 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
0cb48a0a18
commit
00ab7cf4fd
@ -811,7 +811,7 @@ int main(int argc, char* argv[])
|
||||
printf("\n\n_______________________________________________\n");
|
||||
|
||||
// Record the results with Perf test tools.
|
||||
webrtc::test::PrintResult("time_per_10ms_frame", "", "isac",
|
||||
webrtc::test::PrintResult("isac", "", "time_per_10ms_frame",
|
||||
(runtime * 10000) / length_file, "us", false);
|
||||
|
||||
fclose(inp);
|
||||
|
@ -1026,7 +1026,7 @@ void void_main(int argc, char* argv[]) {
|
||||
(max_time_us + max_time_reverse_us) / 1000.0,
|
||||
(min_time_us + min_time_reverse_us) / 1000.0);
|
||||
// Record the results with Perf test tools.
|
||||
webrtc::test::PrintResult("time_per_10ms_frame", "", "audioproc",
|
||||
webrtc::test::PrintResult("audioproc", "", "time_per_10ms_frame",
|
||||
(exec_time * 1000) / primary_count, "us", false);
|
||||
} else {
|
||||
printf("Warning: no capture frames\n");
|
||||
|
Loading…
Reference in New Issue
Block a user