NBLog add log scale to histograms
Bug: 36490717
Test: Log histograms, check that scale displayed is logarithmic
Change-Id: I10d5387ad9eef80e7994ccb8246347e1413e9058
diff --git a/media/libnbaio/include/NBLog.h b/media/libnbaio/include/NBLog.h
index 2068a94..2893dc9 100644
--- a/media/libnbaio/include/NBLog.h
+++ b/media/libnbaio/include/NBLog.h
@@ -466,7 +466,7 @@
virtual void handleAuthor(const AbstractEntry &fmtEntry, String8 *body) {}
static void drawHistogram(String8 *body, const std::vector<int64_t> &samples,
- int indent = 0, int maxHeight = 10);
+ bool logScale, int indent = 0, int maxHeight = 10);
// Searches for the last entry of type <type> in the range [front, back)
// back has to be entry-aligned. Returns nullptr if none enconuntered.