diff options
author | Olivier Gaillard <gaillard@google.com> | 2018-08-06 15:55:03 +0100 |
---|---|---|
committer | Olivier Gaillard <gaillard@google.com> | 2018-08-06 16:49:26 +0100 |
commit | 34ad8af018f312d29fe68d8b710b36f53c197281 (patch) | |
tree | d9955138f233a7890312b9dffc6debb6911f8d56 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c0eadf99766cb0656f0f05b5c9068bbc6a1eea90 (diff) |
Improve binder calls stats sampling.
- Decouple detailed tracking and sampling. Detailed tracking now control
which data wwe should track (e.g. exception, max reply size, ...),
sampling controls the % of requests to track
- Do not create a CallStat object just for the sake of tracking the call
count. Most of the keys have a really low call count (60% of keys below
10 call counts, 90% below 100 calls). When data sampling is enabled, we
can save lots of memory.
Test: unit test
Change-Id: If81b38023a76a8b1e07e655f9ecd8a098d401df4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions