summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2021-06-21 20:22:12 -0700
committerCalin Juravle <calin@google.com>2021-06-23 07:45:01 -0700
commit029a811dcb18e54d54aca805db7f8af452798a0a (patch)
tree7175f40aa863df9d5621866da789423c955b92b1 /test/ProfileTestMultiDex/Second.java
parent306191eaf91ea6833c490c091b11f50e0338ba39 (diff)
Add sampling support in the metrics reporter
The sample rate percentage can be configured via 2 runtime flags (MetricsReportingMods and MetricsReportingNumMods). A runtime session will report metrics if and only if its session id % MetricsReportingNumMods < MetricsReportingMods. A value of 0 on the mods will effectively disable reporting, while configuring MetricsReportingMods to be equal to the MetricsReportingNumMods will enable reporting in all cases. Test: gtest Bug: 170149255 Merged-In: Ie1353e4fc0ff695fc627696145d95e9ccd3c6a94 Change-Id: Ie1353e4fc0ff695fc627696145d95e9ccd3c6a94 (cherry picked from commit 17e0b652b59b0f7ebc821c3a86036e86079642bb)
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions