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

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

Issue 2022983003: Roll base to 5e00da80f6adb7082d1c0e88d3274cf87cc43bc5 and tonic to f7acabb8fa6c91124486a41194eac3cd… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 | « gpu/command_buffer/service/feature_info.cc ('k') | gpu/command_buffer/service/test_helper.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.cc
diff --git a/gpu/command_buffer/service/gpu_tracer.cc b/gpu/command_buffer/service/gpu_tracer.cc
index 33d318d74b26bfe723f17282051b0e9b6f533652..ae783ace0300d62ed18701843b070498f3e05ff1 100644
--- a/gpu/command_buffer/service/gpu_tracer.cc
+++ b/gpu/command_buffer/service/gpu_tracer.cc
@@ -51,21 +51,11 @@ void TraceOutputter::TraceDevice(const std::string& category,
int64 start_time,
int64 end_time) {
TRACE_EVENT_COPY_BEGIN_WITH_ID_TID_AND_TIMESTAMP1(
- TRACE_DISABLED_BY_DEFAULT("gpu.device"),
- name.c_str(),
- local_trace_id_,
- named_thread_.thread_id(),
- start_time,
- "gl_category",
- category.c_str());
+ TRACE_DISABLED_BY_DEFAULT("gpu.device"), name.c_str(), local_trace_id_,
+ named_thread_.GetThreadId(), start_time, "gl_category", category.c_str());
TRACE_EVENT_COPY_END_WITH_ID_TID_AND_TIMESTAMP1(
- TRACE_DISABLED_BY_DEFAULT("gpu.device"),
- name.c_str(),
- local_trace_id_,
- named_thread_.thread_id(),
- end_time,
- "gl_category",
- category.c_str());
+ TRACE_DISABLED_BY_DEFAULT("gpu.device"), name.c_str(), local_trace_id_,
+ named_thread_.GetThreadId(), end_time, "gl_category", category.c_str());
++local_trace_id_;
}
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698