Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: cc/debug/picture_record_benchmark.h

Issue 662473003: cc: Replace > > with >> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: angles: . Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/base/tiling_data_unittest.cc ('k') | cc/layers/layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CC_DEBUG_PICTURE_RECORD_BENCHMARK_H_ 5 #ifndef CC_DEBUG_PICTURE_RECORD_BENCHMARK_H_
6 #define CC_DEBUG_PICTURE_RECORD_BENCHMARK_H_ 6 #define CC_DEBUG_PICTURE_RECORD_BENCHMARK_H_
7 7
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 13 matching lines...) Expand all
24 24
25 // Implements MicroBenchmark interface. 25 // Implements MicroBenchmark interface.
26 virtual void DidUpdateLayers(LayerTreeHost* host) override; 26 virtual void DidUpdateLayers(LayerTreeHost* host) override;
27 virtual void RunOnLayer(PictureLayer* layer) override; 27 virtual void RunOnLayer(PictureLayer* layer) override;
28 28
29 private: 29 private:
30 void Run(Layer* layer); 30 void Run(Layer* layer);
31 31
32 typedef std::pair<base::TimeDelta, unsigned> TotalTime; 32 typedef std::pair<base::TimeDelta, unsigned> TotalTime;
33 std::map<std::pair<int, int>, TotalTime> times_; 33 std::map<std::pair<int, int>, TotalTime> times_;
34 std::vector<std::pair<int, int> > dimensions_; 34 std::vector<std::pair<int, int>> dimensions_;
35 }; 35 };
36 36
37 } // namespace cc 37 } // namespace cc
38 38
39 #endif // CC_DEBUG_PICTURE_RECORD_BENCHMARK_H_ 39 #endif // CC_DEBUG_PICTURE_RECORD_BENCHMARK_H_
OLDNEW
« no previous file with comments | « cc/base/tiling_data_unittest.cc ('k') | cc/layers/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698