| Index: chrome/test/perf/rendering/latency_tests.cc
|
| diff --git a/chrome/test/perf/rendering/latency_tests.cc b/chrome/test/perf/rendering/latency_tests.cc
|
| index fdd00d77ecae94a7e0c32b10fede9f143a980704..af3c761c0b19b8daebe5809f97b4dbce5b3e28fc 100644
|
| --- a/chrome/test/perf/rendering/latency_tests.cc
|
| +++ b/chrome/test/perf/rendering/latency_tests.cc
|
| @@ -99,9 +99,9 @@ const int kInputsPerFrame = 16;
|
| const int kClearColorGreen = 137;
|
| const int kMouseY = 5;
|
|
|
| -// Don't analyze begin frames that may be inaccurate. Latencies can be as high
|
| +// Don't analyze start frames that may be inaccurate. Latencies can be as high
|
| // as 5 frames or so, so skip the first 6 frames to get more accurate results.
|
| -const int kIgnoreBeginFrames = 6;
|
| +const int kIgnoreStartFrames = 6;
|
| // Don't analyze end frames that may be inaccurate.
|
| const int kIgnoreEndFrames = 4;
|
| // Minimum frames to produce an answer.
|
| @@ -478,7 +478,7 @@ double LatencyTest::CalculateLatency() {
|
| ++swap_count;
|
| // Don't analyze first few swaps, because they are filling the rendering
|
| // pipeline and may be unstable.
|
| - if (swap_count > kIgnoreBeginFrames) {
|
| + if (swap_count > kIgnoreStartFrames) {
|
| // First, find the beginning of this swap.
|
| size_t begin_swap_pos = 0;
|
| EXPECT_TRUE(FindLastOf(events, query_begin_swaps_, end_swap_pos,
|
|
|