summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2017-02-09 22:49:35 -0800
committerYohei Yukawa <yukawa@google.com>2017-02-10 10:50:31 -0800
commite073306d7788dd14aa8b6bd24304a18dece7c084 (patch)
tree4896d5bd9582b4f6fbe2d8fc700ddaa527c73826 /tools/aapt2/java/JavaClassGenerator.cpp
parent0a54d4bbed189357c82598918d819d3bf111d104 (diff)
Track update count of IMMS#mMethodMap
InputMethodManagerService#buildInputMethodListLocked() is known be one of the biggest contributors to CPU and I/O bandwidth consumed by InputMethodManagerService (IMMS). To check when it gets called and to see how a CL would affect its call count, it would be useful if we can easily get the call count of that method. With this CL, how many times IMMS#mMethodMap was rebuilt will be included in the dumpsys. Test: adb shell dumpsys input_method | grep "mMethodMapUpdateCount=" to make sure the count is increasing. Bug: 32343335 Change-Id: I05850578cbf2e6adfea6c7e9b1fb9ec4e9d5e2c9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions