Lines Matching refs:fpsInfoResult
98 FpsInfoProfiler fpsInfoResult;
100 fpsInfoResult = GetFpsInfo();
101 if (fpsInfoResult.fps == 0) {
103 long long currTime = (fpsInfoResult.currTimeDump / msClear) * msClear + fpsInfoResult.currTimeDiff;
105 printf("fps:%d|%lld\n", fpsInfoResult.fps, currTime / oneSec);
107 printf("fps:%d|%lld\n", fpsInfoResult.fps, lastCurrTime + oneThousand);
111 long long currTime = (fpsInfoResult.currTimeStamps[0] / msClear) * msClear + fpsInfoResult.currTimeDiff;
113 printf("fps:%d|%lld\n", fpsInfoResult.fps, lastCurrTime);
115 lastFpsInfoResult = fpsInfoResult;
116 if (sectionsNum != 0 && fpsInfoResult.fps != 0) {
117 GetSectionsFps(fpsInfoResult, sectionsNum);
202 void ProfilerFPS::GetSectionsFps(FpsInfoProfiler &fpsInfoResult, int nums) const
209 long long msStartTime = (fpsInfoResult.currTimeStamps[0] / msClear) * msClear + msJiange;
215 for (size_t i = 0; i < fpsInfoResult.currTimeStamps.size(); i++) {
216 long long currTime = fpsInfoResult.currTimeStamps[i];
234 if (i == (static_cast<size_t>(fpsInfoResult.currTimeStamps.size()) - 1)) {