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

Issue 893673002: gpu: Add a class MeasurementTimers that measures wall, cpu and gpu time. (Closed)

Created:
5 years, 10 months ago by Daniele Castagna
Modified:
5 years, 10 months ago
Reviewers:
reveman, piman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Add a class MeasurementTimers that measures wall, cpu and gpu time. The perf test texture_upload_perftest has been updated to use these new measurements. BUG=423481 Committed: https://crrev.com/b27d8d3fd8ac59e01b345192c4ada2aef07cb844 Cr-Commit-Position: refs/heads/master@{#316314}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Use NowFromSystemTraceTime. s/CHECK/DCHECK. Poll for timer availability. #

Patch Set 3 : Use gpu_timing instead of the gl extension directly. Avoid printing results when timers are not ava… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -25 lines) Patch
M gpu/BUILD.gn View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A gpu/perftests/measurements.h View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A gpu/perftests/measurements.cc View 1 2 1 chunk +99 lines, -0 lines 0 comments Download
M gpu/perftests/texture_upload_perftest.cc View 1 2 7 chunks +29 lines, -25 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
Daniele Castagna
5 years, 10 months ago (2015-01-30 20:39:01 UTC) #2
piman
https://codereview.chromium.org/893673002/diff/1/gpu/perftests/measurements.cc File gpu/perftests/measurements.cc (right): https://codereview.chromium.org/893673002/diff/1/gpu/perftests/measurements.cc#newcode57 gpu/perftests/measurements.cc:57: glQueryCounter(gl_queries_[0], GL_TIMESTAMP); This only works with GL_ARB_timer_query, which is ...
5 years, 10 months ago (2015-01-30 21:12:04 UTC) #3
Daniele Castagna
https://codereview.chromium.org/893673002/diff/1/gpu/perftests/measurements.cc File gpu/perftests/measurements.cc (right): https://codereview.chromium.org/893673002/diff/1/gpu/perftests/measurements.cc#newcode57 gpu/perftests/measurements.cc:57: glQueryCounter(gl_queries_[0], GL_TIMESTAMP); On 2015/01/30 21:12:04, piman (Very slow to ...
5 years, 10 months ago (2015-02-03 04:12:59 UTC) #4
Daniele Castagna
https://codereview.chromium.org/893673002/diff/1/gpu/perftests/measurements.cc File gpu/perftests/measurements.cc (right): https://codereview.chromium.org/893673002/diff/1/gpu/perftests/measurements.cc#newcode57 gpu/perftests/measurements.cc:57: glQueryCounter(gl_queries_[0], GL_TIMESTAMP); On 2015/02/03 04:12:59, dcastagna wrote: > On ...
5 years, 10 months ago (2015-02-06 22:52:00 UTC) #5
Daniele Castagna
On 2015/02/06 at 22:52:00, dcastagna wrote: > https://codereview.chromium.org/893673002/diff/1/gpu/perftests/measurements.cc > File gpu/perftests/measurements.cc (right): > > https://codereview.chromium.org/893673002/diff/1/gpu/perftests/measurements.cc#newcode57 ...
5 years, 10 months ago (2015-02-13 21:13:01 UTC) #6
Daniele Castagna
Sorry, I meant to answer "done" to the specific comment, not to the whole thread. ...
5 years, 10 months ago (2015-02-13 21:17:42 UTC) #7
piman
lgtm
5 years, 10 months ago (2015-02-13 21:57:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/893673002/40001
5 years, 10 months ago (2015-02-13 22:26:21 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-13 23:07:17 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 23:08:21 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b27d8d3fd8ac59e01b345192c4ada2aef07cb844
Cr-Commit-Position: refs/heads/master@{#316314}

Powered by Google App Engine
This is Rietveld 408576698