blob: a83b2bfae690c8829e363d5c391b9064fd2cc343 [file] [log] [blame]
Yiwei Zhang0102ad22018-05-02 17:37:17 -07001/*
2 * Copyright 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#pragma once
18
Peiyong Lin65248e02020-04-18 21:15:07 -070019// TODO(b/129481165): remove the #pragma below and fix conversion issues
Alec Mouri9a29e672020-09-14 12:39:14 -070020#include <cstdint>
Peiyong Lin65248e02020-04-18 21:15:07 -070021#pragma clang diagnostic push
22#pragma clang diagnostic ignored "-Wconversion"
23
24#include <android/hardware/graphics/composer/2.4/IComposerClient.h>
25
26// TODO(b/129481165): remove the #pragma below and fix conversion issues
27#pragma clang diagnostic pop // ignored "-Wconversion"
28
Alec Mouri8e2f31b2020-01-16 22:04:35 +000029#include <stats_event.h>
30#include <stats_pull_atom_callback.h>
31#include <statslog.h>
Yiwei Zhang0102ad22018-05-02 17:37:17 -070032#include <timestatsproto/TimeStatsHelper.h>
33#include <timestatsproto/TimeStatsProtoHeader.h>
Jorim Jaggi5814ab82020-12-03 20:45:58 +010034#include <gui/JankInfo.h>
Yiwei Zhang0102ad22018-05-02 17:37:17 -070035#include <ui/FenceTime.h>
Yiwei Zhang0102ad22018-05-02 17:37:17 -070036#include <utils/String16.h>
Yiwei Zhang0102ad22018-05-02 17:37:17 -070037#include <utils/Vector.h>
38
Yiwei Zhangc5f2c452018-05-08 16:31:56 -070039#include <deque>
Yiwei Zhang0102ad22018-05-02 17:37:17 -070040#include <mutex>
Yiwei Zhang8a4015c2018-05-08 16:03:47 -070041#include <optional>
Yiwei Zhang0102ad22018-05-02 17:37:17 -070042#include <unordered_map>
Alec Mourie4034bb2019-11-19 12:45:54 -080043#include <variant>
Yiwei Zhang0102ad22018-05-02 17:37:17 -070044
45using namespace android::surfaceflinger;
46
47namespace android {
Yiwei Zhang0102ad22018-05-02 17:37:17 -070048
49class TimeStats {
Alec Mourifb571ea2019-01-24 18:42:10 -080050public:
51 virtual ~TimeStats() = default;
52
Alec Mouri8e2f31b2020-01-16 22:04:35 +000053 // Called once boot has been finished to perform additional capabilities,
54 // e.g. registration to statsd.
55 virtual void onBootFinished() = 0;
56
Alec Mourifb571ea2019-01-24 18:42:10 -080057 virtual void parseArgs(bool asProto, const Vector<String16>& args, std::string& result) = 0;
58 virtual bool isEnabled() = 0;
Oliver Nguyenf3b7c9c2019-05-07 13:28:07 -070059 virtual std::string miniDump() = 0;
Alec Mourifb571ea2019-01-24 18:42:10 -080060
61 virtual void incrementTotalFrames() = 0;
62 virtual void incrementMissedFrames() = 0;
63 virtual void incrementClientCompositionFrames() = 0;
Vishnu Nair9b079a22020-01-21 14:36:08 -080064 virtual void incrementClientCompositionReusedFrames() = 0;
Alec Mouri8de697e2020-03-19 10:52:01 -070065 // Increments the number of times the display refresh rate changed.
66 virtual void incrementRefreshRateSwitches() = 0;
Alec Mouri8f7a0102020-04-15 12:11:10 -070067 // Increments the number of changes in composition strategy
68 // The intention is to reflect the number of changes between hwc and gpu
69 // composition, where "gpu composition" may also include mixed composition.
70 virtual void incrementCompositionStrategyChanges() = 0;
Alec Mouri717bcb62020-02-10 17:07:19 -080071 // Records the most up-to-date count of display event connections.
72 // The stored count will be the maximum ever recoded.
73 virtual void recordDisplayEventConnectionCount(int32_t count) = 0;
Alec Mourifb571ea2019-01-24 18:42:10 -080074
Alec Mouri9519bf12019-11-15 16:54:44 -080075 // Records the start and end times for a frame.
76 // The start time is the same as the beginning of a SurfaceFlinger
77 // invalidate message.
78 // The end time corresponds to when SurfaceFlinger finishes submitting the
79 // request to HWC to present a frame.
80 virtual void recordFrameDuration(nsecs_t startTime, nsecs_t endTime) = 0;
Alec Mourie4034bb2019-11-19 12:45:54 -080081 // Records the start time and end times for when RenderEngine begins work.
82 // The start time corresponds to the beginning of RenderEngine::drawLayers.
83 // The end time corresponds to when RenderEngine finishes rendering.
84 virtual void recordRenderEngineDuration(nsecs_t startTime, nsecs_t endTime) = 0;
85 // Same as above, but passes in a fence representing the end time.
86 virtual void recordRenderEngineDuration(nsecs_t startTime,
87 const std::shared_ptr<FenceTime>& readyFence) = 0;
Alec Mouri9519bf12019-11-15 16:54:44 -080088
Yiwei Zhang1a88c402019-11-18 10:43:58 -080089 virtual void setPostTime(int32_t layerId, uint64_t frameNumber, const std::string& layerName,
Alec Mouri9a29e672020-09-14 12:39:14 -070090 uid_t uid, nsecs_t postTime) = 0;
Yiwei Zhang1a88c402019-11-18 10:43:58 -080091 virtual void setLatchTime(int32_t layerId, uint64_t frameNumber, nsecs_t latchTime) = 0;
Alec Mouri91f6df32020-01-30 08:48:58 -080092 // Reasons why latching a particular buffer may be skipped
93 enum class LatchSkipReason {
94 // If the acquire fence did not fire on some devices we skip latching
95 // the buffer until the fence fires.
96 LateAcquire,
97 };
98 // Increments the counter of skipped latch buffers.
99 virtual void incrementLatchSkipped(int32_t layerId, LatchSkipReason reason) = 0;
100 // Increments the counter of bad desired present times for this layer.
101 // Bad desired present times are "implausible" and cause SurfaceFlinger to
102 // latch a buffer immediately to avoid stalling.
103 virtual void incrementBadDesiredPresent(int32_t layerId) = 0;
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800104 virtual void setDesiredTime(int32_t layerId, uint64_t frameNumber, nsecs_t desiredTime) = 0;
105 virtual void setAcquireTime(int32_t layerId, uint64_t frameNumber, nsecs_t acquireTime) = 0;
106 virtual void setAcquireFence(int32_t layerId, uint64_t frameNumber,
Alec Mourifb571ea2019-01-24 18:42:10 -0800107 const std::shared_ptr<FenceTime>& acquireFence) = 0;
Alec Mourie4034bb2019-11-19 12:45:54 -0800108 // SetPresent{Time, Fence} are not expected to be called in the critical
109 // rendering path, as they flush prior fences if those fences have fired.
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800110 virtual void setPresentTime(int32_t layerId, uint64_t frameNumber, nsecs_t presentTime) = 0;
111 virtual void setPresentFence(int32_t layerId, uint64_t frameNumber,
Alec Mourifb571ea2019-01-24 18:42:10 -0800112 const std::shared_ptr<FenceTime>& presentFence) = 0;
Alec Mouri9a29e672020-09-14 12:39:14 -0700113
Alec Mouri9a29e672020-09-14 12:39:14 -0700114 // Increments janky frames, tracked globally. Because FrameTimeline is the infrastructure
115 // responsible for computing jank in the system, this is expected to be called from
116 // FrameTimeline, rather than directly from SurfaceFlinger or individual layers. If there are no
117 // jank reasons, then total frames are incremented but jank is not, for accurate accounting of
118 // janky frames.
119 virtual void incrementJankyFrames(int32_t reasons) = 0;
120 // Increments janky frames, blamed to the provided {uid, layerName} key, with JankMetadata as
121 // supplementary reasons for the jank. Because FrameTimeline is the infrastructure responsible
122 // for computing jank in the system, this is expected to be called from FrameTimeline, rather
123 // than directly from SurfaceFlinger or individual layers.
124 // If there are no jank reasons, then total frames are incremented but jank is not, for accurate
125 // accounting of janky frames.
126 virtual void incrementJankyFrames(uid_t uid, const std::string& layerName, int32_t reasons) = 0;
Alec Mourifb571ea2019-01-24 18:42:10 -0800127 // Clean up the layer record
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800128 virtual void onDestroy(int32_t layerId) = 0;
Alec Mourifb571ea2019-01-24 18:42:10 -0800129 // If SF skips or rejects a buffer, remove the corresponding TimeRecord.
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800130 virtual void removeTimeRecord(int32_t layerId, uint64_t frameNumber) = 0;
Alec Mourifb571ea2019-01-24 18:42:10 -0800131
Peiyong Lin65248e02020-04-18 21:15:07 -0700132 virtual void setPowerMode(
133 hardware::graphics::composer::V2_4::IComposerClient::PowerMode powerMode) = 0;
Alec Mourifb571ea2019-01-24 18:42:10 -0800134 // Source of truth is RefrehRateStats.
135 virtual void recordRefreshRate(uint32_t fps, nsecs_t duration) = 0;
136 virtual void setPresentFenceGlobal(const std::shared_ptr<FenceTime>& presentFence) = 0;
137};
138
139namespace impl {
140
141class TimeStats : public android::TimeStats {
Peiyong Lin65248e02020-04-18 21:15:07 -0700142 using PowerMode = android::hardware::graphics::composer::V2_4::IComposerClient::PowerMode;
143
Yiwei Zhangcf50ab92018-06-14 10:50:12 -0700144 struct FrameTime {
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700145 uint64_t frameNumber = 0;
146 nsecs_t postTime = 0;
147 nsecs_t latchTime = 0;
148 nsecs_t acquireTime = 0;
149 nsecs_t desiredTime = 0;
150 nsecs_t presentTime = 0;
Yiwei Zhangcf50ab92018-06-14 10:50:12 -0700151 };
152
153 struct TimeRecord {
154 bool ready = false;
155 FrameTime frameTime;
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700156 std::shared_ptr<FenceTime> acquireFence;
157 std::shared_ptr<FenceTime> presentFence;
158 };
159
160 struct LayerRecord {
Alec Mouri9a29e672020-09-14 12:39:14 -0700161 uid_t uid;
Yiwei Zhang9689e2f2018-05-11 12:33:23 -0700162 std::string layerName;
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700163 // This is the index in timeRecords, at which the timestamps for that
164 // specific frame are still not fully received. This is not waiting for
165 // fences to signal, but rather waiting to receive those fences/timestamps.
166 int32_t waitData = -1;
Yiwei Zhangeaeea062018-06-28 14:46:51 -0700167 uint32_t droppedFrames = 0;
Alec Mouri91f6df32020-01-30 08:48:58 -0800168 uint32_t lateAcquireFrames = 0;
169 uint32_t badDesiredPresentFrames = 0;
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700170 TimeRecord prevTimeRecord;
Yiwei Zhangc5f2c452018-05-08 16:31:56 -0700171 std::deque<TimeRecord> timeRecords;
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700172 };
173
Yiwei Zhang3a226d22018-10-16 09:23:03 -0700174 struct PowerTime {
Peiyong Lin65248e02020-04-18 21:15:07 -0700175 PowerMode powerMode = PowerMode::OFF;
Yiwei Zhang3a226d22018-10-16 09:23:03 -0700176 nsecs_t prevTime = 0;
177 };
178
Alec Mourie4034bb2019-11-19 12:45:54 -0800179 struct RenderEngineDuration {
180 nsecs_t startTime;
181 std::variant<nsecs_t, std::shared_ptr<FenceTime>> endTime;
182 };
183
Yiwei Zhangce6ebc02018-10-20 12:42:38 -0700184 struct GlobalRecord {
185 nsecs_t prevPresentTime = 0;
186 std::deque<std::shared_ptr<FenceTime>> presentFences;
Alec Mourie4034bb2019-11-19 12:45:54 -0800187 std::deque<RenderEngineDuration> renderEngineDurations;
Yiwei Zhangce6ebc02018-10-20 12:42:38 -0700188 };
189
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700190public:
Alec Mourib3885ad2019-09-06 17:08:55 -0700191 TimeStats();
Yiwei Zhang7e666a52018-11-15 13:33:42 -0800192
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000193 // Delegate to the statsd service and associated APIs.
194 // Production code may use this class directly, whereas unit test may define
195 // a subclass for ease of testing.
196 class StatsEventDelegate {
197 public:
198 virtual ~StatsEventDelegate() = default;
Tej Singh2a457b62020-01-31 16:16:10 -0800199 virtual AStatsEvent* addStatsEventToPullData(AStatsEventList* data) {
200 return AStatsEventList_addStatsEvent(data);
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000201 }
Tej Singh38a4b212020-03-13 19:04:51 -0700202 virtual void setStatsPullAtomCallback(int32_t atom_tag,
203 AStatsManager_PullAtomMetadata* metadata,
204 AStatsManager_PullAtomCallback callback,
205 void* cookie) {
206 return AStatsManager_setPullAtomCallback(atom_tag, metadata, callback, cookie);
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000207 }
208
Tej Singh38a4b212020-03-13 19:04:51 -0700209 virtual void clearStatsPullAtomCallback(int32_t atom_tag) {
210 return AStatsManager_clearPullAtomCallback(atom_tag);
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000211 }
212
Tej Singh2a457b62020-01-31 16:16:10 -0800213 virtual void statsEventSetAtomId(AStatsEvent* event, uint32_t atom_id) {
214 return AStatsEvent_setAtomId(event, atom_id);
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000215 }
216
Alec Mouri717bcb62020-02-10 17:07:19 -0800217 virtual void statsEventWriteInt32(AStatsEvent* event, int32_t field) {
218 return AStatsEvent_writeInt32(event, field);
219 }
220
Tej Singh2a457b62020-01-31 16:16:10 -0800221 virtual void statsEventWriteInt64(AStatsEvent* event, int64_t field) {
222 return AStatsEvent_writeInt64(event, field);
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000223 }
224
Tej Singh2a457b62020-01-31 16:16:10 -0800225 virtual void statsEventWriteString8(AStatsEvent* event, const char* field) {
226 return AStatsEvent_writeString(event, field);
Alec Mouri37384342020-01-02 17:23:37 -0800227 }
228
Tej Singh2a457b62020-01-31 16:16:10 -0800229 virtual void statsEventWriteByteArray(AStatsEvent* event, const uint8_t* buf,
Alec Mouri37384342020-01-02 17:23:37 -0800230 size_t numBytes) {
Tej Singh2a457b62020-01-31 16:16:10 -0800231 return AStatsEvent_writeByteArray(event, buf, numBytes);
Alec Mouri37384342020-01-02 17:23:37 -0800232 }
233
Tej Singh2a457b62020-01-31 16:16:10 -0800234 virtual void statsEventBuild(AStatsEvent* event) { return AStatsEvent_build(event); }
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000235 };
236 // For testing only for injecting custom dependencies.
Alec Mouri37384342020-01-02 17:23:37 -0800237 TimeStats(std::unique_ptr<StatsEventDelegate> statsDelegate,
238 std::optional<size_t> maxPulledLayers,
239 std::optional<size_t> maxPulledHistogramBuckets);
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000240
Alec Mouri3ecd5cd2020-01-29 12:53:07 -0800241 ~TimeStats() override;
242
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000243 void onBootFinished() override;
Alec Mourifb571ea2019-01-24 18:42:10 -0800244 void parseArgs(bool asProto, const Vector<String16>& args, std::string& result) override;
245 bool isEnabled() override;
Yiwei Zhang7eb58b72019-04-22 19:00:02 -0700246 std::string miniDump() override;
Yiwei Zhang7e666a52018-11-15 13:33:42 -0800247
Alec Mourifb571ea2019-01-24 18:42:10 -0800248 void incrementTotalFrames() override;
249 void incrementMissedFrames() override;
250 void incrementClientCompositionFrames() override;
Vishnu Nair9b079a22020-01-21 14:36:08 -0800251 void incrementClientCompositionReusedFrames() override;
Alec Mouri8de697e2020-03-19 10:52:01 -0700252 void incrementRefreshRateSwitches() override;
Alec Mouri8f7a0102020-04-15 12:11:10 -0700253 void incrementCompositionStrategyChanges() override;
Alec Mouri717bcb62020-02-10 17:07:19 -0800254 void recordDisplayEventConnectionCount(int32_t count) override;
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700255
Alec Mouri9519bf12019-11-15 16:54:44 -0800256 void recordFrameDuration(nsecs_t startTime, nsecs_t endTime) override;
Alec Mourie4034bb2019-11-19 12:45:54 -0800257 void recordRenderEngineDuration(nsecs_t startTime, nsecs_t endTime) override;
258 void recordRenderEngineDuration(nsecs_t startTime,
259 const std::shared_ptr<FenceTime>& readyFence) override;
Alec Mouri9519bf12019-11-15 16:54:44 -0800260
Alec Mouri9a29e672020-09-14 12:39:14 -0700261 void setPostTime(int32_t layerId, uint64_t frameNumber, const std::string& layerName, uid_t uid,
Alec Mourifb571ea2019-01-24 18:42:10 -0800262 nsecs_t postTime) override;
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800263 void setLatchTime(int32_t layerId, uint64_t frameNumber, nsecs_t latchTime) override;
Alec Mouri91f6df32020-01-30 08:48:58 -0800264 void incrementLatchSkipped(int32_t layerId, LatchSkipReason reason) override;
265 void incrementBadDesiredPresent(int32_t layerId) override;
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800266 void setDesiredTime(int32_t layerId, uint64_t frameNumber, nsecs_t desiredTime) override;
267 void setAcquireTime(int32_t layerId, uint64_t frameNumber, nsecs_t acquireTime) override;
268 void setAcquireFence(int32_t layerId, uint64_t frameNumber,
Alec Mourifb571ea2019-01-24 18:42:10 -0800269 const std::shared_ptr<FenceTime>& acquireFence) override;
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800270 void setPresentTime(int32_t layerId, uint64_t frameNumber, nsecs_t presentTime) override;
271 void setPresentFence(int32_t layerId, uint64_t frameNumber,
Alec Mourifb571ea2019-01-24 18:42:10 -0800272 const std::shared_ptr<FenceTime>& presentFence) override;
Alec Mouri9a29e672020-09-14 12:39:14 -0700273 void incrementJankyFrames(int32_t reasons) override;
274 void incrementJankyFrames(uid_t uid, const std::string& layerName, int32_t reasons) override;
Yiwei Zhangaf8ee942018-11-22 00:15:23 -0800275 // Clean up the layer record
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800276 void onDestroy(int32_t layerId) override;
Yiwei Zhangeaeea062018-06-28 14:46:51 -0700277 // If SF skips or rejects a buffer, remove the corresponding TimeRecord.
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800278 void removeTimeRecord(int32_t layerId, uint64_t frameNumber) override;
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700279
Peiyong Lin65248e02020-04-18 21:15:07 -0700280 void setPowerMode(
281 hardware::graphics::composer::V2_4::IComposerClient::PowerMode powerMode) override;
Alec Mourifb571ea2019-01-24 18:42:10 -0800282 // Source of truth is RefrehRateStats.
283 void recordRefreshRate(uint32_t fps, nsecs_t duration) override;
284 void setPresentFenceGlobal(const std::shared_ptr<FenceTime>& presentFence) override;
Yiwei Zhang3a226d22018-10-16 09:23:03 -0700285
Yiwei Zhangaf8ee942018-11-22 00:15:23 -0800286 static const size_t MAX_NUM_TIME_RECORDS = 64;
287
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700288private:
Tej Singh2a457b62020-01-31 16:16:10 -0800289 static AStatsManager_PullAtomCallbackReturn pullAtomCallback(int32_t atom_tag,
290 AStatsEventList* data,
291 void* cookie);
292 AStatsManager_PullAtomCallbackReturn populateGlobalAtom(AStatsEventList* data);
293 AStatsManager_PullAtomCallbackReturn populateLayerAtom(AStatsEventList* data);
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800294 bool recordReadyLocked(int32_t layerId, TimeRecord* timeRecord);
295 void flushAvailableRecordsToStatsLocked(int32_t layerId);
Yiwei Zhang3a226d22018-10-16 09:23:03 -0700296 void flushPowerTimeLocked();
Yiwei Zhangce6ebc02018-10-20 12:42:38 -0700297 void flushAvailableGlobalRecordsToStatsLocked();
Alec Mouri9a29e672020-09-14 12:39:14 -0700298 bool canAddNewAggregatedStats(uid_t uid, const std::string& layerName);
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700299
300 void enable();
301 void disable();
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000302 void clearAll();
303 void clearGlobalLocked();
304 void clearLayersLocked();
Yiwei Zhang5434a782018-12-05 18:06:32 -0800305 void dump(bool asProto, std::optional<uint32_t> maxLayers, std::string& result);
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700306
307 std::atomic<bool> mEnabled = false;
308 std::mutex mMutex;
Yiwei Zhangdc224042018-10-18 15:34:00 -0700309 TimeStatsHelper::TimeStatsGlobal mTimeStats;
Yiwei Zhang1a88c402019-11-18 10:43:58 -0800310 // Hashmap for LayerRecord with layerId as the hash key
Yiwei Zhang9689e2f2018-05-11 12:33:23 -0700311 std::unordered_map<int32_t, LayerRecord> mTimeStatsTracker;
Yiwei Zhang3a226d22018-10-16 09:23:03 -0700312 PowerTime mPowerTime;
Yiwei Zhangce6ebc02018-10-20 12:42:38 -0700313 GlobalRecord mGlobalRecord;
Yiwei Zhang7eb58b72019-04-22 19:00:02 -0700314
315 static const size_t MAX_NUM_LAYER_RECORDS = 200;
Yiwei Zhange926ab52019-08-14 15:16:00 -0700316 static const size_t MAX_NUM_LAYER_STATS = 200;
Alec Mouri8e2f31b2020-01-16 22:04:35 +0000317 std::unique_ptr<StatsEventDelegate> mStatsDelegate = std::make_unique<StatsEventDelegate>();
Alec Mouri37384342020-01-02 17:23:37 -0800318 size_t mMaxPulledLayers = 8;
319 size_t mMaxPulledHistogramBuckets = 6;
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700320};
321
Alec Mourifb571ea2019-01-24 18:42:10 -0800322} // namespace impl
323
Yiwei Zhang0102ad22018-05-02 17:37:17 -0700324} // namespace android