summaryrefslogtreecommitdiffstats
path: root/runtime/base
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-18 00:18:05 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-07-18 00:18:05 -0700
commit08524597899d0bb021c9165218deff51dc88da50 (patch)
treee8677f76fdc2fb23017eca6dc8c528eef2451594 /runtime/base
parent073deb8dda59ba42ad563f0453daa09a359edef7 (diff)
parent0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c (diff)
downloadart-08524597899d0bb021c9165218deff51dc88da50.zip
art-08524597899d0bb021c9165218deff51dc88da50.tar.gz
art-08524597899d0bb021c9165218deff51dc88da50.tar.bz2
am 0cd7ec2d: Fix cpplint whitespace/blank_line issues
* commit '0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c': Fix cpplint whitespace/blank_line issues
Diffstat (limited to 'runtime/base')
-rw-r--r--runtime/base/histogram-inl.h1
-rw-r--r--runtime/base/histogram.h1
-rw-r--r--runtime/base/timing_logger.h3
3 files changed, 0 insertions, 5 deletions
diff --git a/runtime/base/histogram-inl.h b/runtime/base/histogram-inl.h
index bbca603..d572cf9 100644
--- a/runtime/base/histogram-inl.h
+++ b/runtime/base/histogram-inl.h
@@ -212,7 +212,6 @@ inline double Histogram<Value>::Percentile(double per) const {
DCHECK_GT(cumulative_perc_.size(), 0ull);
size_t idx, upper_idx = 0, lower_idx = 0;
for (idx = 0; idx < cumulative_perc_.size(); idx++) {
-
if (per <= cumulative_perc_[idx]) {
upper_idx = idx;
break;
diff --git a/runtime/base/histogram.h b/runtime/base/histogram.h
index dfb556b..33a1e65 100644
--- a/runtime/base/histogram.h
+++ b/runtime/base/histogram.h
@@ -30,7 +30,6 @@ namespace art {
// Designed to be simple and used with timing logger in art.
template <class Value> class Histogram {
-
const double kAdjust;
const Value kBucketWidth;
const size_t kInitialBucketCount;
diff --git a/runtime/base/timing_logger.h b/runtime/base/timing_logger.h
index 816cbea..0f00a04 100644
--- a/runtime/base/timing_logger.h
+++ b/runtime/base/timing_logger.h
@@ -50,9 +50,7 @@ namespace base {
} // namespace base
class CumulativeLogger {
-
public:
-
explicit CumulativeLogger(const std::string& name);
void prepare_stats();
~CumulativeLogger();
@@ -68,7 +66,6 @@ class CumulativeLogger {
void AddNewLogger(const base::NewTimingLogger& logger) LOCKS_EXCLUDED(lock_);
private:
-
void AddPair(const std::string &label, uint64_t delta_time)
EXCLUSIVE_LOCKS_REQUIRED(lock_);
void DumpHistogram(std::ostream &os) EXCLUSIVE_LOCKS_REQUIRED(lock_);