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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2539443003: Add UMA to track the duration of CheckFrambufferValid (Closed)
Patch Set: obsolete rather than remove histograms Created 4 years, 1 month 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 | « no previous file | gpu/command_buffer/service/program_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 3c0f126881452c0bd00de777adffe0901a3d2aa6..23644dbc4951c2be2ebda58500f494d28a30ecb6 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -4225,6 +4225,8 @@ bool GLES2DecoderImpl::CheckFramebufferValid(
GLenum target,
GLenum gl_error,
const char* func_name) {
+ SCOPED_UMA_HISTOGRAM_TIMER("GPU.CheckFramebufferValidDuration");
+
if (!framebuffer) {
if (surfaceless_)
return false;
« no previous file with comments | « no previous file | gpu/command_buffer/service/program_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698