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

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: 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
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 9c28a7de59428cb866dad796698b15d7a0095ad7..5d7f1a0fd7c320ff3142fe8a2cef0ed2355b924e 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_controller.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture_controller.cc
@@ -30,7 +30,7 @@ void SyntheticGestureController::QueueSyntheticGesture(
}
void SyntheticGestureController::Flush(base::TimeTicks timestamp) {
- TRACE_EVENT0("benchmark", "SyntheticGestureController::Flush");
+ TRACE_EVENT0("input", "SyntheticGestureController::Flush");
if (pending_gesture_queue_.empty())
return;
@@ -51,7 +51,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();
}
@@ -59,7 +60,8 @@ void SyntheticGestureController::StartGesture(const SyntheticGesture& gesture) {
void SyntheticGestureController::StopGesture(
const SyntheticGesture& gesture, 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);
gesture_target_->OnSyntheticGestureCompleted(result);

Powered by Google App Engine
This is Rietveld 408576698