Searched refs:protoStreams (Results 1 – 2 of 2) sorted by relevance
2235 public void dumpAggregatedProtoForStatsd(ProtoOutputStream[] protoStreams, in dumpAggregatedProtoForStatsd() argument2238 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()2247 if (protoStreams[shardIndex].getRawSize() > maxRawShardSizeBytes) { in dumpAggregatedProtoForStatsd()2249 if (shardIndex >= protoStreams.length) { in dumpAggregatedProtoForStatsd()2255 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()2262 procState.dumpAggregatedProtoForStatsd(protoStreams[shardIndex], in dumpAggregatedProtoForStatsd()2270 protoStreams[i].flush(); in dumpAggregatedProtoForStatsd()
2577 ProtoOutputStream[] protoStreams = new ProtoOutputStream[MAX_PROCSTATS_SHARDS];2578 for (int i = 0; i < protoStreams.length; i++) {2579 protoStreams[i] = new ProtoOutputStream();2586 procStats.dumpAggregatedProtoForStatsd(protoStreams, MAX_PROCSTATS_RAW_SHARD_SIZE);2588 for (int i = 0; i < protoStreams.length; i++) {2589 byte[] bytes = protoStreams[i].getBytes(); // cache the value