OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <algorithm> | 5 #include <algorithm> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/containers/small_map.h" | 8 #include "base/containers/small_map.h" |
| 9 #include "base/logging.h" |
9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "gpu/command_buffer/service/gpu_timing.h" |
11 #include "gpu/perftests/measurements.h" | 13 #include "gpu/perftests/measurements.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
14 #include "ui/gl/gl_bindings.h" | 16 #include "ui/gl/gl_bindings.h" |
15 #include "ui/gl/gl_context.h" | 17 #include "ui/gl/gl_context.h" |
16 #include "ui/gl/gl_surface.h" | 18 #include "ui/gl/gl_surface.h" |
17 #include "ui/gl/scoped_make_current.h" | 19 #include "ui/gl/scoped_make_current.h" |
18 | 20 |
19 namespace gpu { | 21 namespace gpu { |
20 namespace { | 22 namespace { |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 } | 255 } |
254 | 256 |
255 for (const auto& entry : aggregates) { | 257 for (const auto& entry : aggregates) { |
256 const auto m = entry.second.Divide(kUploadPerfTestRuns); | 258 const auto m = entry.second.Divide(kUploadPerfTestRuns); |
257 m.PrintResult(); | 259 m.PrintResult(); |
258 } | 260 } |
259 } | 261 } |
260 | 262 |
261 } // namespace | 263 } // namespace |
262 } // namespace gpu | 264 } // namespace gpu |
OLD | NEW |