Lines Matching defs:stats
758 DisplayStatInfo* stats) {
759 if (stats == NULL) {
763 // FIXME for now we always return stats for the primary display
764 memset(stats, 0, sizeof(*stats));
765 stats->vsyncTime = mPrimaryDispSync.computeNextRefresh(0);
766 stats->vsyncPeriod = mPrimaryDispSync.getPeriod();
3120 result.appendFormat("Static screen stats:\n");
3148 auto& stats = mBufferingStats[layerName];
3151 stats.twoBufferTime += segment.totalTime;
3154 stats.doubleBufferedTime += segment.totalTime;
3156 stats.tripleBufferedTime += segment.totalTime;
3158 ++stats.numSegments;
3159 stats.totalTime += segment.totalTime;
3164 result.append("Buffering stats:\n");
3172 const BufferingStats& stats = statsPair.second;
3173 if (stats.numSegments == 0) {
3176 float activeTime = ns2ms(stats.totalTime) / 1000.0f;
3177 float twoBufferRatio = static_cast<float>(stats.twoBufferTime) /
3178 stats.totalTime;
3180 stats.doubleBufferedTime) / stats.totalTime;
3182 stats.tripleBufferedTime) / stats.totalTime;
3243 // Dump static screen stats