Lines Matching refs:result
71 std::string result; in toString() local
75 StringAppendF(&result, "%dms=%d ", bucket, count); in toString()
77 result.back() = '\n'; in toString()
78 return result; in toString()
82 std::string result; in toString() local
83 StringAppendF(&result, "totalTimelineFrames = %d\n", totalFrames); in toString()
84 StringAppendF(&result, "jankyFrames = %d\n", totalJankyFrames); in toString()
85 StringAppendF(&result, "sfLongCpuJankyFrames = %d\n", totalSFLongCpu); in toString()
86 StringAppendF(&result, "sfLongGpuJankyFrames = %d\n", totalSFLongGpu); in toString()
87 StringAppendF(&result, "sfUnattributedJankyFrames = %d\n", totalSFUnattributed); in toString()
88 StringAppendF(&result, "appUnattributedJankyFrames = %d\n", totalAppUnattributed); in toString()
89 StringAppendF(&result, "sfSchedulingJankyFrames = %d\n", totalSFScheduling); in toString()
90 StringAppendF(&result, "sfPredictionErrorJankyFrames = %d\n", totalSFPredictionError); in toString()
91 StringAppendF(&result, "appBufferStuffingJankyFrames = %d\n", totalAppBufferStuffing); in toString()
92 return result; in toString()
96 std::string result; in toString() local
97 StringAppendF(&result, "frameRate = %.2f\n", frameRate); in toString()
98 StringAppendF(&result, "frameRateCompatibility = %s\n", in toString()
100 StringAppendF(&result, "seamlessness = %s\n", ftl::enum_string(seamlessness).c_str()); in toString()
101 return result; in toString()
105 std::string result = "\n"; in toString() local
106 StringAppendF(&result, "displayRefreshRate = %d fps\n", displayRefreshRateBucket); in toString()
107 StringAppendF(&result, "renderRate = %d fps\n", renderRateBucket); in toString()
108 StringAppendF(&result, "uid = %d\n", uid); in toString()
109 StringAppendF(&result, "layerName = %s\n", layerName.c_str()); in toString()
110 StringAppendF(&result, "packageName = %s\n", packageName.c_str()); in toString()
111 StringAppendF(&result, "gameMode = %s\n", ftl::enum_string(gameMode).c_str()); in toString()
112 StringAppendF(&result, "totalFrames = %d\n", totalFrames); in toString()
113 StringAppendF(&result, "droppedFrames = %d\n", droppedFrames); in toString()
114 StringAppendF(&result, "lateAcquireFrames = %d\n", lateAcquireFrames); in toString()
115 StringAppendF(&result, "badDesiredPresentFrames = %d\n", badDesiredPresentFrames); in toString()
116 result.append("Jank payload for this layer:\n"); in toString()
117 result.append(jankPayload.toString()); in toString()
118 result.append("SetFrameRate vote for this layer:\n"); in toString()
119 result.append(setFrameRateVote.toString()); in toString()
124 StringAppendF(&result, "averageFPS = %.3f\n", averageFPS); in toString()
127 StringAppendF(&result, "%s histogram is as below:\n", ele.first.c_str()); in toString()
128 result.append(ele.second.toString()); in toString()
131 return result; in toString()
135 std::string result = "SurfaceFlinger TimeStats:\n"; in toString() local
136 result.append("Legacy stats are as follows:\n"); in toString()
137 StringAppendF(&result, "statsStart = %" PRId64 "\n", statsStartLegacy); in toString()
138 StringAppendF(&result, "statsEnd = %" PRId64 "\n", statsEndLegacy); in toString()
139 StringAppendF(&result, "totalFrames = %d\n", totalFramesLegacy); in toString()
140 StringAppendF(&result, "missedFrames = %d\n", missedFramesLegacy); in toString()
141 StringAppendF(&result, "clientCompositionFrames = %d\n", clientCompositionFramesLegacy); in toString()
142 StringAppendF(&result, "clientCompositionReusedFrames = %d\n", in toString()
144 StringAppendF(&result, "refreshRateSwitches = %d\n", refreshRateSwitchesLegacy); in toString()
145 StringAppendF(&result, "compositionStrategyChanges = %d\n", compositionStrategyChangesLegacy); in toString()
146 StringAppendF(&result, "compositionStrategyPredicted = %d\n", in toString()
148 StringAppendF(&result, "compositionStrategyPredictionSucceeded = %d\n", in toString()
150 StringAppendF(&result, "compositionStrategyPredictionFailed = %d\n", in toString()
154 StringAppendF(&result, "displayOnTime = %" PRId64 " ms\n", displayOnTimeLegacy); in toString()
155 StringAppendF(&result, "displayConfigStats is as below:\n"); in toString()
157 StringAppendF(&result, "%dfps = %ldms\n", fps, ns2ms(duration)); in toString()
159 result.back() = '\n'; in toString()
160 StringAppendF(&result, "totalP2PTime = %" PRId64 " ms\n", presentToPresentLegacy.totalTime()); in toString()
161 StringAppendF(&result, "presentToPresent histogram is as below:\n"); in toString()
162 result.append(presentToPresentLegacy.toString()); in toString()
164 StringAppendF(&result, "averageFrameDuration = %.3f ms\n", in toString()
166 StringAppendF(&result, "frameDuration histogram is as below:\n"); in toString()
167 result.append(frameDurationLegacy.toString()); in toString()
169 StringAppendF(&result, "averageRenderEngineTiming = %.3f ms\n", in toString()
171 StringAppendF(&result, "renderEngineTiming histogram is as below:\n"); in toString()
172 result.append(renderEngineTimingLegacy.toString()); in toString()
174 result.append("\nGlobal aggregated jank payload (Timeline stats):"); in toString()
176 result.append("\n"); in toString()
177 StringAppendF(&result, "displayRefreshRate = %d fps\n", in toString()
179 StringAppendF(&result, "renderRate = %d fps\n", ele.second.key.renderRateBucket); in toString()
180 result.append(ele.second.jankPayload.toString()); in toString()
181 StringAppendF(&result, "sfDeadlineMisses histogram is as below:\n"); in toString()
182 result.append(ele.second.displayDeadlineDeltas.toString()); in toString()
183 StringAppendF(&result, "sfPredictionErrors histogram is as below:\n"); in toString()
184 result.append(ele.second.displayPresentDeltas.toString()); in toString()
189 result.append(ele->toString()); in toString()
192 return result; in toString()