Lines Matching refs:bucket

204         protos::GraphicsStatsHistogramBucketProto* bucket;  in mergeProfileDataIntoProto()  local
206 bucket = proto->add_histogram(); in mergeProfileDataIntoProto()
207 bucket->set_render_millis(entry.renderTimeMs); in mergeProfileDataIntoProto()
209 bucket = proto->mutable_histogram(index); in mergeProfileDataIntoProto()
210 if (bucket->render_millis() != static_cast<int32_t>(entry.renderTimeMs)) { in mergeProfileDataIntoProto()
211 ALOGW("Frame time mistmatch %d vs. %u", bucket->render_millis(), in mergeProfileDataIntoProto()
217 bucket->set_frame_count(bucket->frame_count() + entry.frameCount); in mergeProfileDataIntoProto()
235 protos::GraphicsStatsHistogramBucketProto* bucket; in mergeProfileDataIntoProto() local
237 bucket = proto->add_gpu_histogram(); in mergeProfileDataIntoProto()
238 bucket->set_render_millis(entry.renderTimeMs); in mergeProfileDataIntoProto()
240 bucket = proto->mutable_gpu_histogram(index); in mergeProfileDataIntoProto()
241 if (bucket->render_millis() != static_cast<int32_t>(entry.renderTimeMs)) { in mergeProfileDataIntoProto()
242 ALOGW("GPU frame time mistmatch %d vs. %u", bucket->render_millis(), in mergeProfileDataIntoProto()
248 bucket->set_frame_count(bucket->frame_count() + entry.frameCount); in mergeProfileDataIntoProto()
415 auto bucket = findIt->second.mutable_histogram(bucketIndex); in mergeStat() local
416 bucket->set_frame_count(bucket->frame_count() + in mergeStat()
421 auto bucket = findIt->second.mutable_gpu_histogram(bucketIndex); in mergeStat() local
422 bucket->set_frame_count(bucket->frame_count() + in mergeStat()
497 auto& bucket = stat.histogram(bucketIndex); in writeCpuHistogram() local
500 (int)bucket.render_millis()); in writeCpuHistogram()
503 auto& bucket = stat.histogram(bucketIndex); in writeCpuHistogram() local
506 (long long)bucket.frame_count()); in writeCpuHistogram()
517 auto& bucket = stat.gpu_histogram(bucketIndex); in writeGpuHistogram() local
520 (int)bucket.render_millis()); in writeGpuHistogram()
523 auto& bucket = stat.gpu_histogram(bucketIndex); in writeGpuHistogram() local
526 (long long)bucket.frame_count()); in writeGpuHistogram()