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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_controller.cc

Issue 180723007: Telemetry: Remove unnessessary 'benchmark' traces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 10 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 | content/browser/renderer_host/input/synthetic_gesture_target_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/synthetic_gesture_controller.cc
diff --git a/content/browser/renderer_host/input/synthetic_gesture_controller.cc b/content/browser/renderer_host/input/synthetic_gesture_controller.cc
index 8eba8827243e5acc5eacb4b68c4637068cdc5a81..57b3af0e1af0cbcf40d8dd7122fb16e3b5067f4b 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_controller.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture_controller.cc
@@ -32,7 +32,7 @@ void SyntheticGestureController::QueueSyntheticGesture(
}
void SyntheticGestureController::Flush(base::TimeTicks timestamp) {
- TRACE_EVENT0("benchmark", "SyntheticGestureController::Flush");
+ TRACE_EVENT0("input", "SyntheticGestureController::Flush");
if (pending_gesture_queue_.IsEmpty())
return;
@@ -53,7 +53,8 @@ void SyntheticGestureController::Flush(base::TimeTicks timestamp) {
}
void SyntheticGestureController::StartGesture(const SyntheticGesture& gesture) {
- TRACE_EVENT_ASYNC_BEGIN0("benchmark", "SyntheticGestureController::running",
+ TRACE_EVENT_ASYNC_BEGIN0("input,benchmark",
+ "SyntheticGestureController::running",
&gesture);
gesture_target_->SetNeedsFlush();
}
@@ -63,7 +64,8 @@ void SyntheticGestureController::StopGesture(
const OnGestureCompleteCallback& completion_callback,
SyntheticGesture::Result result) {
DCHECK_NE(result, SyntheticGesture::GESTURE_RUNNING);
- TRACE_EVENT_ASYNC_END0("benchmark", "SyntheticGestureController::running",
+ TRACE_EVENT_ASYNC_END0("input,benchmark",
+ "SyntheticGestureController::running",
&gesture);
completion_callback.Run(result);
« no previous file with comments | « no previous file | content/browser/renderer_host/input/synthetic_gesture_target_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698