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

Issue 16574002: Estimate draw duration in SchedulerClient (Closed)

Created:
7 years, 6 months ago by ajuma
Modified:
7 years, 6 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, Ilya Sherman, jar (doing other things)
Visibility:
Public.

Description

Estimate draw duration in SchedulerClient This adds a DrawDurationEstimate method to SchedulerClient. The implementation of this method (in ThreadProxy) produces an estimate based on recent draw times. This also adds UMA stats measuring the duration of each draw and the amount by which this duration is underestimated or overestimated. BUG=243459 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206624

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add UMA stats #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -2 lines) Patch
M cc/scheduler/scheduler.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 3 chunks +4 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 6 chunks +43 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
ajuma
PTAL. The constants defined here will need tweaking (once we figure out what works best). ...
7 years, 6 months ago (2013-06-06 18:00:34 UTC) #1
Tom Hudson
I thought we'd dropped the idea of estimating draw costs. Do we have a use ...
7 years, 6 months ago (2013-06-06 18:27:46 UTC) #2
Tom Hudson
On 2013/06/06 18:27:46, Tom Hudson wrote: > I thought we'd dropped the idea of estimating ...
7 years, 6 months ago (2013-06-06 18:31:36 UTC) #3
ajuma
On 2013/06/06 18:31:36, Tom Hudson wrote: > On 2013/06/06 18:27:46, Tom Hudson wrote: > > ...
7 years, 6 months ago (2013-06-06 18:39:02 UTC) #4
Tom Hudson
On 2013/06/06 18:39:02, ajuma wrote: > There is a huge penalty for underestimating the cost ...
7 years, 6 months ago (2013-06-07 10:08:43 UTC) #5
ajuma
PTAL. I've added UMA histograms measuring the duration of each draw and measuring the amount ...
7 years, 6 months ago (2013-06-11 17:10:57 UTC) #6
brianderson
lgtm if you make replace the UMA over/underestimate with a single difference value. https://codereview.chromium.org/16574002/diff/9001/cc/trees/thread_proxy.cc File ...
7 years, 6 months ago (2013-06-12 00:59:44 UTC) #7
ajuma
https://codereview.chromium.org/16574002/diff/9001/cc/trees/thread_proxy.cc File cc/trees/thread_proxy.cc (right): https://codereview.chromium.org/16574002/diff/9001/cc/trees/thread_proxy.cc#newcode985 cc/trees/thread_proxy.cc:985: base::TimeDelta draw_duration_underestimate; On 2013/06/12 00:59:44, Brian Anderson wrote: > ...
7 years, 6 months ago (2013-06-12 01:18:11 UTC) #8
brianderson
On 2013/06/12 01:18:11, ajuma wrote: > https://codereview.chromium.org/16574002/diff/9001/cc/trees/thread_proxy.cc > File cc/trees/thread_proxy.cc (right): > > https://codereview.chromium.org/16574002/diff/9001/cc/trees/thread_proxy.cc#newcode985 > ...
7 years, 6 months ago (2013-06-12 18:01:28 UTC) #9
ajuma
+jar for tools/metrics/ OWNERS.
7 years, 6 months ago (2013-06-12 18:05:52 UTC) #10
jar (doing other things)
https://chromiumcodereview.appspot.com/16574002/diff/9001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/16574002/diff/9001/tools/metrics/histograms/histograms.xml#newcode8618 tools/metrics/histograms/histograms.xml:8618: The amout by which the compositor's draw duration was ...
7 years, 6 months ago (2013-06-12 19:09:37 UTC) #11
ajuma
https://chromiumcodereview.appspot.com/16574002/diff/9001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/16574002/diff/9001/tools/metrics/histograms/histograms.xml#newcode8618 tools/metrics/histograms/histograms.xml:8618: The amout by which the compositor's draw duration was ...
7 years, 6 months ago (2013-06-12 19:28:52 UTC) #12
ajuma
On 2013/06/12 19:28:52, ajuma wrote: > https://chromiumcodereview.appspot.com/16574002/diff/9001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://chromiumcodereview.appspot.com/16574002/diff/9001/tools/metrics/histograms/histograms.xml#newcode8618 > ...
7 years, 6 months ago (2013-06-14 20:28:47 UTC) #13
jar (doing other things)
histograms.xml LGTM
7 years, 6 months ago (2013-06-15 17:56:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/16574002/23001
7 years, 6 months ago (2013-06-15 20:39:01 UTC) #15
commit-bot: I haz the power
7 years, 6 months ago (2013-06-16 03:07:01 UTC) #16
Message was sent while issue was closed.
Change committed as 206624

Powered by Google App Engine
This is Rietveld 408576698