diff options
| author | Guliz Tuncay <gulizseray@google.com> | 2017-08-08 11:30:17 -0700 | 
|---|---|---|
| committer | Guliz Tuncay <gulizseray@google.com> | 2017-08-08 13:55:18 -0700 | 
| commit | 674b1cfc7a1c89cac80793d81ff35a46a3494c38 (patch) | |
| tree | 2a39a3393caa7267280b0fc6c85d740f858c3752 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 443d9cacfe0d416f79ae5c4700ec713667188b17 (diff) | |
Track update count of TSMS#mSpellCheckerMap
TextServicesManagerService#buildSpellCheckerMapLocked() is known be
one of the biggest contributors to CPU and I/O bandwidth consumed
by TextServicesManagerService (TSMS). 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 TSMS#mSpellCheckerMap was rebuilt will be
included in the dumpsys.
Bug: 64449660
Test: adb shell dumpsys textservices | grep "mSpellCheckerMapUpdateCount="
      to make sure the count is increasing with each switch between
      users.
Change-Id: Ia1f50c756c332b3329b6e28e8edb7673cf9124f2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
