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

Unified Diff: cc/rendering_stats.h

Issue 11896002: [cc] Use base::TimeTicks in RenderStats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renderwidget too Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/raster_worker_pool.cc ('k') | cc/rendering_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/rendering_stats.h
diff --git a/cc/rendering_stats.h b/cc/rendering_stats.h
index 9424f5538558db42deec4bbf6d579ee2524d362c..f47c71074fbcc73c3545bfb1df3479cabc0e4cab 100644
--- a/cc/rendering_stats.h
+++ b/cc/rendering_stats.h
@@ -16,9 +16,9 @@ struct CC_EXPORT RenderingStats {
int64 numAnimationFrames;
int64 numFramesSentToScreen;
int64 droppedFrameCount;
- double totalPaintTimeInSeconds;
- double totalRasterizeTimeInSeconds;
- double totalCommitTimeInSeconds;
+ base::TimeDelta totalPaintTime;
+ base::TimeDelta totalRasterizeTime;
+ base::TimeDelta totalCommitTime;
int64 totalCommitCount;
int64 totalPixelsPainted;
int64 totalPixelsRasterized;
@@ -29,8 +29,8 @@ struct CC_EXPORT RenderingStats {
int64 totalDeferredImageDecodeCount;
int64 totalDeferredImageCacheHitCount;
int64 totalImageGatheringCount;
- double totalDeferredImageDecodeTimeInSeconds;
- double totalImageGatheringTimeInSeconds;
+ base::TimeDelta totalDeferredImageDecodeTime;
+ base::TimeDelta totalImageGatheringTime;
// Note: when adding new members, please remember to update enumerateFields
// in rendering_stats.cc.
« no previous file with comments | « cc/raster_worker_pool.cc ('k') | cc/rendering_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698