summaryrefslogtreecommitdiffstats
path: root/runtime/base
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-17 23:40:20 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-18 00:12:43 -0700
commit0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c (patch)
tree525a0f99f9381156367c988133b5d51d5dfef6f7 /runtime/base
parentf69863b3039fc621ff4250e262d2a024d5e79ec8 (diff)
downloadart-0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c.zip
art-0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c.tar.gz
art-0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c.tar.bz2
Fix cpplint whitespace/blank_line issues
Change-Id: Ice937e95e23dd622c17054551d4ae4cebd0ef8a2
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_);