Home
last modified time | relevance | path

Searched refs:fpsInfo (Results 1 – 5 of 5) sorted by relevance

/developtools/profiler/host/smartperf/client/client_command/
Dprofiler_fps.cpp116 void ProfilerFPS::GetSectionsFps(FpsInfoProfiler &fpsInfo) in GetSectionsFps() argument
120 long long msStartTime = (fpsInfo.currTimeStamps[0] / msClear) * msClear + msJiange; in GetSectionsFps()
125 for (int i = 0; i < fpsInfo.currTimeStamps.size(); i++) { in GetSectionsFps()
126 currTime = fpsInfo.currTimeStamps[i]; in GetSectionsFps()
143 if (i == (fpsInfo.currTimeStamps.size() - 1)) { in GetSectionsFps()
210 if (fpsInfo.fps > uniteFpsInfo.fps) { in GetFpsInfoMax()
211 fpsInfoMax = fpsInfo; in GetFpsInfoMax()
266 fpsInfo = GetSurfaceFrame(tempLayerName); in GetFpsInfo()
270 FpsInfoProfiler ProfilerFPS::GetFpsInfoResult(FpsInfoProfiler &fpsInfo, long long &lastLineTime) in GetFpsInfoResult() argument
275 while (!(fpsInfo.timeStampQ.empty())) { in GetFpsInfoResult()
[all …]
DFPS.cpp93 static void PrintFpsInfo(FpsInfo &fpsInfo, const std::string tag, const std::string type) in PrintFpsInfo() argument
95 LOGI("Print fps: %s", std::to_string(fpsInfo.fps).c_str()); in PrintFpsInfo()
100 for (size_t i = 0; i < fpsInfo.jitters.size(); i++) { in PrintFpsInfo()
104 jitterStr += split + std::to_string(fpsInfo.jitters[i]); in PrintFpsInfo()
123 if (fpsInfo.fps > uniteFpsInfo.fps) { in GetFpsInfoMax()
124 fpsInfoMax = fpsInfo; in GetFpsInfoMax()
197 fpsInfo = GetSurfaceFrame(focusSurface); in GetFpsInfo()
198 PrintFpsInfo(fpsInfo, focusSurface, "two"); in GetFpsInfo()
201 FpsInfo FPS::GetFpsInfoResult(FpsInfo &fpsInfo, long long &lastLineTime) in GetFpsInfoResult() argument
206 while (!(fpsInfo.timeStampQ.empty())) { in GetFpsInfoResult()
[all …]
/developtools/profiler/host/smartperf/client/client_command_fps/
Dmain.cpp133 static void ProcessResult(FILE *fp, FpsConfig &fpsConfig, FpsInfo &fpsInfo) in ProcessResult() argument
155 (fpsInfo.timeStampQ).push(frameReadyTime); in ProcessResult()
158 lastFrame = fpsInfo.lastFrameReadyTime; in ProcessResult()
161 fpsInfo.jitters.clear(); in ProcessResult()
162 while (!(fpsInfo.timeStampQ).empty()) { in ProcessResult()
164 long long currFrame = (fpsInfo.timeStampQ.front()); in ProcessResult()
167 fpsInfo.jitters.push_back(jitter); in ProcessResult()
170 (fpsInfo.timeStampQ).pop(); in ProcessResult()
173 (fpsInfo.timeStampQ).push(frameReadyTime); in ProcessResult()
174 fpsInfo.lastFrameReadyTime = lastFrame; in ProcessResult()
[all …]
/developtools/profiler/host/smartperf/client/client_command/include/
Dprofiler_fps.h67 void GetSectionsFps(FpsInfoProfiler &fpsInfo);
73 FpsInfoProfiler GetFpsInfoResult(FpsInfoProfiler &fpsInfo, long long &lastLineTime);
74 void GetLastFpsInfo(FpsInfoProfiler &fpsInfo);
75 void GetPrevFpsInfo(FpsInfoProfiler &fpsInfo);
76 void InitParams(FpsInfoProfiler &fpsInfo, long long &lastLineTime);
80 FpsInfoProfiler fpsInfo; variable
DFPS.h66 FpsInfo GetFpsInfoResult(FpsInfo &fpsInfo, long long &lastLineTime);
67 void GetLastFpsInfo(FpsInfo &fpsInfo);
68 void GetPrevFpsInfo(FpsInfo &fpsInfo);
69 void InitParams(FpsInfo &fpsInfo, long long &lastLineTime);
73 FpsInfo fpsInfo; variable