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

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

Issue 2359503002: Let TRACE_EVENT_XXX_WITH_TIMESTAMP accept TimeTicks instead of int64_t (Closed)
Patch Set: Rebase Created 4 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/renderer/devtools/v8_sampling_profiler.cc ('k') | third_party/WebKit/Source/platform/TraceEvent.h » ('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 8905ee5f3be53522e5e735eb2d4f1e1e2c361995..bd596102cb7de3f29c30b223b51a4c4a188927c3 100644
--- a/gpu/command_buffer/service/gpu_tracer.cc
+++ b/gpu/command_buffer/service/gpu_tracer.cc
@@ -74,7 +74,7 @@ void TraceOutputter::TraceDevice(GpuTracerSource source,
name.c_str(),
local_trace_device_id_,
named_thread_.GetThreadId(),
- start_time,
+ base::TimeTicks::FromInternalValue(start_time),
"gl_category",
category.c_str(),
"channel",
@@ -87,7 +87,7 @@ void TraceOutputter::TraceDevice(GpuTracerSource source,
name.c_str(),
local_trace_device_id_,
named_thread_.GetThreadId(),
- end_time - 1,
+ base::TimeTicks::FromInternalValue(end_time - 1),
"gl_category",
category.c_str(),
"channel",
« no previous file with comments | « content/renderer/devtools/v8_sampling_profiler.cc ('k') | third_party/WebKit/Source/platform/TraceEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698