am c01cc6b3: am adf2a2b9: am 2d8f1b65: Merge "Make dict log cleanup." into lmp-dev

* commit 'c01cc6b3b8e0dff31b6b17a87b21a629aea6703b':
  Make dict log cleanup.
Akifumi Yoshimoto 2014-08-06 17:47:46 +00:00 committed by Android Git Automerger
commit d9d913195d
1 changed files with 3 additions and 10 deletions

View File

@ -802,20 +802,13 @@ public class BinaryDictEncoderUtils {
} }
MakedictLog.i("Statistics:\n" MakedictLog.i("Statistics:\n"
+ " total file size " + size + "\n" + " Total file size " + size + "\n"
+ " " + ptNodeArrays.size() + " node arrays\n" + " " + ptNodeArrays.size() + " node arrays\n"
+ " " + ptNodes + " PtNodes (" + ((float)ptNodes / ptNodeArrays.size()) + " " + ptNodes + " PtNodes (" + ((float)ptNodes / ptNodeArrays.size())
+ " PtNodes per node)\n" + " PtNodes per node)\n"
+ " first terminal at " + firstTerminalAddress + "\n" + " First terminal at " + firstTerminalAddress + "\n"
+ " last terminal at " + lastTerminalAddress + "\n" + " Last terminal at " + lastTerminalAddress + "\n"
+ " PtNode stats : max = " + maxNodes); + " PtNode stats : max = " + maxNodes);
for (int i = 0; i < ptNodeCounts.length; ++i) {
MakedictLog.i(" " + i + " : " + ptNodeCounts[i]);
}
MakedictLog.i(" Character run stats : max = " + maxRuns);
for (int i = 0; i < runCounts.length; ++i) {
MakedictLog.i(" " + i + " : " + runCounts[i]);
}
} }
/** /**