yangqiaosheng / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Add UMA histograms + trace events to track D3D CreateDevice time #944

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We do have trace events for D3D9 CreateDevice calls, but we're lacking them on 
D3D11. Also, now that ANGLE can handle UMA stats directly we can add histograms 
to capture data from a wide cross-section of users.

Original issue reported on code.google.com by jmad...@chromium.org on 10 Mar 2015 at 7:44

GoogleCodeExporter commented 9 years ago
Project: angle/angle
Branch : master
Author : Jamie Madill <jmadill@chromium.org>
Commit : ad0a486b943316caef81084b10fbaa8be70a8956

Code-Review  0 : Geoff Lang, Jamie Madill
Code-Review  +2: Zhenyao Mo
Verified     0 : Geoff Lang, Zhenyao Mo
Verified     +1: Jamie Madill
Commit Queue   : Chumped
Change-Id      : Ie9047c0424429aecec5f6d7be8e119ebcc53fbe3
Reviewed-at    : https://chromium-review.googlesource.com/266524

Add D3D11CreateDevice timing histogram.

This should give us a bound on how much we can improve startup
time in ANGLE on D3D11 across all users.

BUG=angleproject:944
BUG=436191

include/platform/Platform.h
src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp

Original comment by bugdroid1@chromium.org on 20 Apr 2015 at 8:58

GoogleCodeExporter commented 9 years ago
Project: angle/angle
Branch : master
Author : Jamie Madill <jmadill@chromium.org>
Commit : d41c649aecc2ff0f843f1d37dd331eec3aab13c1

Code-Review  0 : Jamie Madill
Code-Review  +1: Geoff Lang
Code-Review  +2: Zhenyao Mo
Verified     0 : Geoff Lang, Zhenyao Mo
Verified     +1: Jamie Madill
Commit Queue   : Chumped
Change-Id      : If77abaf71964d26a6269183e51b68b76bb562085
Reviewed-at    : https://chromium-review.googlesource.com/266523

Add histograms helper macros.

These macros mimic Chromium's histogram_macros.h, so we can use
similar values for our histograms.

BUG=angleproject:944
BUG=436191

src/libANGLE/histogram_macros.h
src/libANGLE/renderer/d3d/DisplayD3D.cpp
src/libGLESv2.gypi

Original comment by bugdroid1@chromium.org on 20 Apr 2015 at 8:58