summaryrefslogtreecommitdiffstats
path: root/src/hprof/hprof.cc
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-04-03 13:34:44 -0700
committerElliott Hughes <enh@google.com>2012-04-03 13:34:44 -0700
commit409d273a3a57158faaa520ff5f33508367f759f1 (patch)
tree6f57ebaf4c92669dcc60d95c8c28688d6041efb6 /src/hprof/hprof.cc
parent6a144338023bdc0ca6954fc71a1f9b4d94088ee4 (diff)
downloadart-409d273a3a57158faaa520ff5f33508367f759f1.zip
art-409d273a3a57158faaa520ff5f33508367f759f1.tar.gz
art-409d273a3a57158faaa520ff5f33508367f759f1.tar.bz2
Be consistent about "kilo" versus "kibi".
I'm a binary man myself, but we've mostly used decimal so far, and wider Android is mostly decimal, so... Change-Id: Ibef78f61176569e0023a7f43196a3969c7fe794b
Diffstat (limited to 'src/hprof/hprof.cc')
-rw-r--r--src/hprof/hprof.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hprof/hprof.cc b/src/hprof/hprof.cc
index 532eada..ce3050e 100644
--- a/src/hprof/hprof.cc
+++ b/src/hprof/hprof.cc
@@ -593,7 +593,7 @@ bool Hprof::Finish() {
}
// throw out a log message for the benefit of "runhat"
- LOG(INFO) << "hprof: heap dump completed (" << ((headCtx.file_data_size_ + file_data_size_ + 1023) / KB) << "KiB)";
+ LOG(INFO) << "hprof: heap dump completed (" << PrettySize(headCtx.file_data_size_ + file_data_size_ + 1023) << ")";
return true;
}