Changeset 128828 in webkit
- Timestamp:
- Sep 17, 2012 5:35:35 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/Platform/ChangeLog
r128806 r128828 1 2012-09-17 Brian Anderson <brianderson@chromium.org> 2 3 [chromium] Add rendering commit statistics 4 https://bugs.webkit.org/show_bug.cgi?id=96938 5 6 Reviewed by James Robinson. 7 8 Adds total commit time and total commit count to WebRenderingStats. 9 Allows us to caculate average commit time in performance tests. 10 11 * chromium/public/WebRenderingStats.h: 12 (WebRenderingStats): 13 (WebKit::WebRenderingStats::WebRenderingStats): 14 (WebKit::WebRenderingStats::enumerateFields): 15 1 16 2012-09-17 Antoine Labour <piman@chromium.org> 2 17 -
trunk/Source/Platform/chromium/public/WebRenderingStats.h
r127846 r128828 35 35 double totalPaintTimeInSeconds; 36 36 double totalRasterizeTimeInSeconds; 37 double totalCommitTimeInSeconds; 38 size_t totalCommitCount; 37 39 38 40 WebRenderingStats() … … 42 44 , totalPaintTimeInSeconds(0) 43 45 , totalRasterizeTimeInSeconds(0) 46 , totalCommitTimeInSeconds(0) 47 , totalCommitCount(0) 44 48 { 45 49 } … … 65 69 enumerator->addDouble("totalPaintTimeInSeconds", totalPaintTimeInSeconds); 66 70 enumerator->addDouble("totalRasterizeTimeInSeconds", totalRasterizeTimeInSeconds); 71 enumerator->addDouble("totalCommitTimeInSeconds", totalCommitTimeInSeconds); 72 enumerator->addInt("totalCommitCount", totalCommitCount); 67 73 } 68 74 }; -
trunk/Source/WebKit/chromium/ChangeLog
r128823 r128828 1 2012-09-17 Brian Anderson <brianderson@chromium.org> 2 3 [chromium] Add rendering commit statistics 4 https://bugs.webkit.org/show_bug.cgi?id=96938 5 6 Reviewed by James Robinson. 7 8 Adds total commit time and total commit count to WebRenderingStats. 9 Allows us to caculate average commit time in performance tests. 10 11 * src/WebLayerTreeViewImpl.cpp: 12 (WebKit::WebLayerTreeViewImpl::renderingStats): 13 1 14 2012-09-17 James Robinson <jamesr@chromium.org> 2 15 -
trunk/Source/WebKit/chromium/src/WebLayerTreeViewImpl.cpp
r127948 r128828 196 196 stats.totalPaintTimeInSeconds = ccStats.totalPaintTimeInSeconds; 197 197 stats.totalRasterizeTimeInSeconds = ccStats.totalRasterizeTimeInSeconds; 198 stats.totalCommitTimeInSeconds = ccStats.totalCommitTimeInSeconds; 199 stats.totalCommitCount = ccStats.totalCommitCount; 198 200 } 199 201
Note: See TracChangeset
for help on using the changeset viewer.