Searched refs:protoStreams (Results 1 – 2 of 2) sorted by relevance
2242 public void dumpAggregatedProtoForStatsd(ProtoOutputStream[] protoStreams, in dumpAggregatedProtoForStatsd() argument2245 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()2254 if (protoStreams[shardIndex].getRawSize() > maxRawShardSizeBytes) { in dumpAggregatedProtoForStatsd()2256 if (shardIndex >= protoStreams.length) { in dumpAggregatedProtoForStatsd()2262 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()2269 procState.dumpAggregatedProtoForStatsd(protoStreams[shardIndex], in dumpAggregatedProtoForStatsd()2277 protoStreams[i].flush(); in dumpAggregatedProtoForStatsd()
2809 ProtoOutputStream[] protoStreams = new ProtoOutputStream[MAX_PROCSTATS_SHARDS];2810 for (int i = 0; i < protoStreams.length; i++) {2811 protoStreams[i] = new ProtoOutputStream();2818 procStats.dumpAggregatedProtoForStatsd(protoStreams, MAX_PROCSTATS_RAW_SHARD_SIZE);2820 for (int i = 0; i < protoStreams.length; i++) {2821 byte[] bytes = protoStreams[i].getBytes(); // cache the value