Home
last modified time | relevance | path

Searched refs:sketch (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBinderCallHeavyHitterWatcher.java271 final HeavyHitterSketch<Integer> sketch = HeavyHitterSketch.<Integer>newDefault(); in setConfig() local
272 final float validationRatio = sketch.getRequiredValidationInputRatio(); in setConfig()
278 sketch.setConfig(batchSize, capacity); in setConfig()
286 resetInternalLocked(listener, sketch, inputSize, batchSize, threshold, capacity); in setConfig()
292 @Nullable final HeavyHitterSketch<Integer> sketch, final int inputSize, in resetInternalLocked() argument
295 mHeavyHitterSketch = sketch; in resetInternalLocked()
345 final HeavyHitterSketch<Integer> sketch = mHeavyHitterSketch; in onTransaction() local
346 if (sketch == null) { in onTransaction()
357 sketch.add(hashCode); in onTransaction()
361 sketch.getCandidates(mCachedCandidateList); in onTransaction()
[all …]
/frameworks/proto_logging/stats/atoms/input/
Dinput_atoms.proto170 * The 'bytes' field is the serialized KLL sketch. It is to be deserialized into an object of
171 * KLL proto, which would then be converted into a KLL sketch. The KLL sketch is a histogram