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

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

Issue 1010323002: Adding a metric to track only the checkerboarding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot to remove a change from a telemetry file. Created 5 years, 9 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 | « no previous file | cc/debug/rendering_stats.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_RENDERING_STATS_H_ 5 #ifndef CC_DEBUG_RENDERING_STATS_H_
6 #define CC_DEBUG_RENDERING_STATS_H_ 6 #define CC_DEBUG_RENDERING_STATS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 26 matching lines...) Expand all
37 37
38 RenderingStats(); 38 RenderingStats();
39 ~RenderingStats(); 39 ~RenderingStats();
40 40
41 // Note: when adding new members, please remember to update Add in 41 // Note: when adding new members, please remember to update Add in
42 // rendering_stats.cc. 42 // rendering_stats.cc.
43 43
44 int64 frame_count; 44 int64 frame_count;
45 int64 visible_content_area; 45 int64 visible_content_area;
46 int64 approximated_visible_content_area; 46 int64 approximated_visible_content_area;
47 int64 checkerboarded_visible_content_area;
47 48
48 TimeDeltaList draw_duration; 49 TimeDeltaList draw_duration;
49 TimeDeltaList draw_duration_estimate; 50 TimeDeltaList draw_duration_estimate;
50 TimeDeltaList begin_main_frame_to_commit_duration; 51 TimeDeltaList begin_main_frame_to_commit_duration;
51 TimeDeltaList begin_main_frame_to_commit_duration_estimate; 52 TimeDeltaList begin_main_frame_to_commit_duration_estimate;
52 TimeDeltaList commit_to_activate_duration; 53 TimeDeltaList commit_to_activate_duration;
53 TimeDeltaList commit_to_activate_duration_estimate; 54 TimeDeltaList commit_to_activate_duration_estimate;
54 55
55 scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData() 56 scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData()
56 const; 57 const;
57 void Add(const RenderingStats& other); 58 void Add(const RenderingStats& other);
58 }; 59 };
59 60
60 } // namespace cc 61 } // namespace cc
61 62
62 #endif // CC_DEBUG_RENDERING_STATS_H_ 63 #endif // CC_DEBUG_RENDERING_STATS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/debug/rendering_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698