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

Unified Diff: cc/debug/rendering_stats_instrumentation.h

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/rendering_stats.cc ('k') | cc/debug/rendering_stats_instrumentation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/rendering_stats_instrumentation.h
diff --git a/cc/debug/rendering_stats_instrumentation.h b/cc/debug/rendering_stats_instrumentation.h
index 734583a581574d410bd6955a31105bc6d36c8e55..8d95929f3aa2910a911c9bc9ea06f8debcf34f54 100644
--- a/cc/debug/rendering_stats_instrumentation.h
+++ b/cc/debug/rendering_stats_instrumentation.h
@@ -18,19 +18,12 @@ class CC_EXPORT RenderingStatsInstrumentation {
static scoped_ptr<RenderingStatsInstrumentation> Create();
virtual ~RenderingStatsInstrumentation();
- // Return copy of current main thread rendering stats.
- RenderingStats::MainThreadRenderingStats main_thread_rendering_stats();
-
// Return copy of current impl thread rendering stats.
- RenderingStats::ImplThreadRenderingStats impl_thread_rendering_stats();
+ RenderingStats impl_thread_rendering_stats();
// Return the accumulated, combined rendering stats.
RenderingStats GetRenderingStats();
- // Add current main thread rendering stats to accumulator and
- // clear current stats.
- void AccumulateAndClearMainThreadStats();
-
// Add current impl thread rendering stats to accumulator and
// clear current stats.
void AccumulateAndClearImplThreadStats();
@@ -48,8 +41,6 @@ class CC_EXPORT RenderingStatsInstrumentation {
base::TimeDelta EndRecording(base::TimeTicks start_time) const;
void IncrementFrameCount(int64 count);
- void AddPaint(base::TimeDelta duration, int64 pixels);
- void AddRecord(base::TimeDelta duration, int64 pixels);
void AddVisibleContentArea(int64 area);
void AddApproximatedVisibleContentArea(int64 area);
void AddDrawDuration(base::TimeDelta draw_duration,
@@ -65,10 +56,8 @@ class CC_EXPORT RenderingStatsInstrumentation {
RenderingStatsInstrumentation();
private:
- RenderingStats::MainThreadRenderingStats main_thread_rendering_stats_;
- RenderingStats::MainThreadRenderingStats main_thread_rendering_stats_accu_;
- RenderingStats::ImplThreadRenderingStats impl_thread_rendering_stats_;
- RenderingStats::ImplThreadRenderingStats impl_thread_rendering_stats_accu_;
+ RenderingStats impl_thread_rendering_stats_;
+ RenderingStats impl_thread_rendering_stats_accu_;
bool record_rendering_stats_;
« no previous file with comments | « cc/debug/rendering_stats.cc ('k') | cc/debug/rendering_stats_instrumentation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698