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

Unified Diff: content/public/common/gpu_rendering_stats.h

Issue 10868048: Report texture upload time in renderingStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert to surface_id instead of route_id. Created 8 years, 3 months 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 | « content/content_common.gypi ('k') | content/public/common/gpu_rendering_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/gpu_rendering_stats.h
diff --git a/content/public/common/gpu_rendering_stats.h b/content/public/common/gpu_rendering_stats.h
new file mode 100644
index 0000000000000000000000000000000000000000..358f9166fe59e0297b45cd6620e760cab43c0a3c
--- /dev/null
+++ b/content/public/common/gpu_rendering_stats.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_RENDERING_STATS_H_
+#define CONTENT_PUBLIC_COMMON_RENDERING_STATS_H_
+
+#include "base/time.h"
+#include "content/common/content_export.h"
+
+namespace content {
+
+struct CONTENT_EXPORT GpuRenderingStats {
+ GpuRenderingStats();
+ ~GpuRenderingStats();
+
+ int global_texture_upload_count;
+ base::TimeDelta global_total_texture_upload_time;
+ int texture_upload_count;
+ base::TimeDelta total_texture_upload_time;
+ base::TimeDelta global_total_processing_commands_time;
+ base::TimeDelta total_processing_commands_time;
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_RENDERING_STATS_H_
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/gpu_rendering_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698