Inroduce UNIFORM_OPS sampling.

Introduce strategy which uniformly samples OPs, without biasing in
favour of specific ops.
Use this strategy half of the time.

Test: atest RuntimeMessageCollectionTest && statsd_testdrive 10069
Bug: 143519689
Change-Id: I481d3a9ef9c66f04577b57432cecdf2c02055e58
This commit is contained in:
Stanislav Zholnin
2020-06-03 15:27:35 +01:00
parent 1ca44e0dcf
commit cb726cbdd2

View File

@@ -9042,6 +9042,7 @@ message RuntimeAppOpAccess {
UNIFORM = 1;
RARELY_USED = 2;
BOOT_TIME_SAMPLING = 3;
UNIFORM_OPS = 4;
}
// sampling strategy used to collect this message