Lines Matching defs:stats
826 DisplayStatInfo* stats) {
827 if (stats == NULL) {
831 // FIXME for now we always return stats for the primary display
832 memset(stats, 0, sizeof(*stats));
833 stats->vsyncTime = mPrimaryDispSync.computeNextRefresh(0);
834 stats->vsyncPeriod = mPrimaryDispSync.getPeriod();
3569 result.appendFormat("Static screen stats:\n");
3587 auto& stats = mBufferingStats[layerName];
3590 stats.twoBufferTime += segment.totalTime;
3593 stats.doubleBufferedTime += segment.totalTime;
3595 stats.tripleBufferedTime += segment.totalTime;
3597 ++stats.numSegments;
3598 stats.totalTime += segment.totalTime;
3613 result.append("Buffering stats:\n");
3621 const BufferingStats& stats = statsPair.second;
3622 if (stats.numSegments == 0) {
3625 float activeTime = ns2ms(stats.totalTime) / 1000.0f;
3626 float twoBufferRatio = static_cast<float>(stats.twoBufferTime) /
3627 stats.totalTime;
3629 stats.doubleBufferedTime) / stats.totalTime;
3631 stats.tripleBufferedTime) / stats.totalTime;
3723 // Dump static screen stats