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

Unified Diff: gpu/command_buffer/service/gpu_tracer.h

Issue 1138603002: Fix some issues with the GPU Tracer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed glFlush(), land later and monitor metrics Created 5 years, 7 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 | « no previous file | gpu/command_buffer/service/gpu_tracer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_tracer.h
diff --git a/gpu/command_buffer/service/gpu_tracer.h b/gpu/command_buffer/service/gpu_tracer.h
index c2a6fba34c5c7e1c255d59ab15f2853840bbdee6..2565ab87a0e1b6384c23ec7871f09419c1a2debb 100644
--- a/gpu/command_buffer/service/gpu_tracer.h
+++ b/gpu/command_buffer/service/gpu_tracer.h
@@ -7,6 +7,7 @@
#define GPU_COMMAND_BUFFER_SERVICE_GPU_TRACER_H_
#include <deque>
+#include <stack>
#include <string>
#include <vector>
@@ -149,6 +150,10 @@ class TraceOutputter : public Outputter {
~TraceOutputter() override;
base::Thread named_thread_;
+ uint64 local_trace_device_id_ = 0;
+ uint64 local_trace_service_id_ = 0;
+
+ std::stack<uint64> trace_service_id_stack_[NUM_TRACER_SOURCES];
private:
DISALLOW_COPY_AND_ASSIGN(TraceOutputter);
« no previous file with comments | « no previous file | gpu/command_buffer/service/gpu_tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698