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

Unified Diff: content/browser/media/capture/video_capture_oracle.cc

Issue 1031813002: Use proper tracing category in image/tab capture trace logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reuploaded patchset! Created 5 years, 9 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/media/capture/video_capture_oracle.cc
diff --git a/content/browser/media/capture/video_capture_oracle.cc b/content/browser/media/capture/video_capture_oracle.cc
index 7ba99eeab42db7ea2e91b68d7c710ae01bf2abda..3cddc38b0c2fa33360901c8d7b046690eacf7d4e 100644
--- a/content/browser/media/capture/video_capture_oracle.cc
+++ b/content/browser/media/capture/video_capture_oracle.cc
@@ -197,7 +197,7 @@ void SmoothEventSampler::ConsiderPresentationEvent(base::TimeTicks event_time) {
if (token_bucket_ > token_bucket_capacity_)
token_bucket_ = token_bucket_capacity_;
}
- TRACE_COUNTER1("mirroring",
+ TRACE_COUNTER1("gpu.capture",
"MirroringTokenBucketUsec",
std::max<int64>(0, token_bucket_.InMicroseconds()));
}
@@ -212,7 +212,7 @@ void SmoothEventSampler::RecordSample() {
token_bucket_ -= min_capture_period_;
if (token_bucket_ < base::TimeDelta())
token_bucket_ = base::TimeDelta();
- TRACE_COUNTER1("mirroring",
+ TRACE_COUNTER1("gpu.capture",
"MirroringTokenBucketUsec",
std::max<int64>(0, token_bucket_.InMicroseconds()));

Powered by Google App Engine
This is Rietveld 408576698