summaryrefslogtreecommitdiffstats
path: root/runtime/base
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2013-11-24 13:17:35 -0800
committerMathieu Chartier <mathieuc@google.com>2013-11-25 11:12:58 -0800
commit7410f29b4dae223befac036ea567d7f33351dad1 (patch)
tree895d3f03073fca0ca6715bcb523816fa6f03cc0a /runtime/base
parentf3bfe67040b46d926d05009e914195e78c5d8685 (diff)
downloadart-7410f29b4dae223befac036ea567d7f33351dad1.zip
art-7410f29b4dae223befac036ea567d7f33351dad1.tar.gz
art-7410f29b4dae223befac036ea567d7f33351dad1.tar.bz2
Fix dumpsys meminfo <pid>.
Added a case for BumpPointerSpaces. Confirmed working non-debug. Should also work in debug builds. Bug: 11830794 Change-Id: I12053ff16eec403dcd4a780e13095e3212a77132
Diffstat (limited to 'runtime/base')
-rw-r--r--runtime/base/histogram.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/base/histogram.h b/runtime/base/histogram.h
index 4e5d29a..a7d51e2 100644
--- a/runtime/base/histogram.h
+++ b/runtime/base/histogram.h
@@ -40,8 +40,10 @@ template <class Value> class Histogram {
std::vector<double> perc_;
};
- // Used for name based comparators in the timing loggers.
+ // Used by the cumulative timing logger to search the histogram set using for an existing split
+ // with the same name using CumulativeLogger::HistogramComparator.
explicit Histogram(const char* name);
+ // This is the expected constructor when creating new Histograms.
Histogram(const char* name, Value initial_bucket_width, size_t max_buckets = 100);
void AddValue(Value);
// Builds the cumulative distribution function from the frequency data.