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

Unified Diff: base/tracked_objects.cc

Issue 1118753003: Revert of Inlining DeathData accessors, per earlier CR's comment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « base/tracked_objects.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/tracked_objects.cc
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
index 5699f502dfc45e723556e1581b3bd3d19ba0e885..574745813ad20cffb09699ff1774ec24b3676e5a 100644
--- a/base/tracked_objects.cc
+++ b/base/tracked_objects.cc
@@ -172,6 +172,32 @@
queue_duration_sample_ = queue_duration;
run_duration_sample_ = run_duration;
}
+}
+
+int DeathData::count() const { return count_; }
+
+int32 DeathData::run_duration_sum() const { return run_duration_sum_; }
+
+int32 DeathData::run_duration_max() const { return run_duration_max_; }
+
+int32 DeathData::run_duration_sample() const {
+ return run_duration_sample_;
+}
+
+int32 DeathData::queue_duration_sum() const {
+ return queue_duration_sum_;
+}
+
+int32 DeathData::queue_duration_max() const {
+ return queue_duration_max_;
+}
+
+int32 DeathData::queue_duration_sample() const {
+ return queue_duration_sample_;
+}
+
+const DeathDataPhaseSnapshot* DeathData::last_phase_snapshot() const {
+ return last_phase_snapshot_;
}
void DeathData::OnProfilingPhaseCompleted(int profiling_phase) {
« no previous file with comments | « base/tracked_objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698