| /developtools/profiler/host/smartperf/client/client_command/ |
| D | profiler_fps.cpp | 42 LOGI("result.fps====: %s", std::to_string(fpsInfoResult.fps).c_str()); in GetResultFPS() 43 if (fpsInfoResult.fps == 0) { in GetResultFPS() 46 printf("fps:%d|%lld\n", fpsInfoResult.fps, msStartTime / oneSec); in GetResultFPS() 48 printf("fps:%d|%lld\n", fpsInfoResult.fps, lastCurrTime + oneThousand); in GetResultFPS() 55 fpsInfoResult.fps = 0; in GetResultFPS() 56 printf("fps:%d|%lld\n", fpsInfoResult.fps, lastCurrTime + oneThousand); in GetResultFPS() 60 printf("fps:%d|%lld\n", fpsInfoResult.fps, currTime / oneSec); in GetResultFPS() 63 printf("fps:%d|%lld\n", fpsInfoResult.fps, lastCurrTime + oneThousand); in GetResultFPS() 75 if (sectionsNum == ten && fpsInfoResult.fps != 0) { in GetResultFPS() 210 if (fpsInfo.fps > uniteFpsInfo.fps) { in GetFpsInfoMax() [all …]
|
| D | FPS.cpp | 37 result["fps"] = std::to_string(fpsInfoResult.fps); in ItemData() 38 LOGI("result.fps====: %s", std::to_string(fpsInfoResult.fps).c_str()); in ItemData() 50 ByTrace::GetInstance().CheckFpsJitters(fpsInfoResult.jitters, fpsInfoResult.fps); in ItemData() 95 LOGI("Print fps: %s", std::to_string(fpsInfo.fps).c_str()); in PrintFpsInfo() 123 if (fpsInfo.fps > uniteFpsInfo.fps) { in GetFpsInfoMax() 128 if (fpsInfoMax.fps < fpsValue) { in GetFpsInfoMax() 129 fpsInfoMax.fps = fpsValue; in GetFpsInfoMax() 135 fpsInfoMax.fps = 0; in GetFpsInfoMax() 146 cntFpsInfo.fps = 0; in GetFpsInfoMax() 171 fpsInfoMax.fps = 0; in GetFpsInfo() [all …]
|
| D | sp_parse_fps.cpp | 64 FpsResult fps = "0"; in ParseBranch() local 75 fps = PraseFPSTrace(filePath, staticTime, uiPoint); in ParseBranch() 77 fps = PraseFPSTrace(filePath, staticTime, videoPoint); in ParseBranch() 82 fps = PraseFPSTrace(filePath, staticTime, webPoint); in ParseBranch() 86 fps = PraseFPSTrace(filePath, staticTime, uiPoint); in ParseBranch() 91 return fps; in ParseBranch() 98 FpsResult fps; in ParseTraceFile() local 111 fps = this->ParseBranch(filePath, packageName, pageTypeClient, touchEventClient); in ParseTraceFile() 113 return "FPS:"+fps+"fps"; in ParseTraceFile()
|
| D | parse_page_fps_trace.cpp | 24 double fps = -1.0; in ParsePageFpsTrace() local 28 return fps; in ParsePageFpsTrace() 30 fps = SmartPerf::PageFpsTrace::CalculateTime(); in ParsePageFpsTrace() 32 return fps; in ParsePageFpsTrace()
|
| D | parse_slide_fps_trace.cpp | 25 double fps = -1.0; in ParseSlideFpsTraceNoh() local 29 return fps; in ParseSlideFpsTraceNoh() 31 fps = SmartPerf::ParseSlideFpsTrace::CalculateTime(); in ParseSlideFpsTraceNoh() 33 return fps; in ParseSlideFpsTraceNoh()
|
| D | sp_profiler_factory.cpp | 78 FPS &fps = FPS::GetInstance(); in SetProfilerPkg() local 79 fps.SetPackageName(pkg); in SetProfilerPkg() 87 FPS &fps = FPS::GetInstance(); in SetProfilerLayer() local 88 fps.SetLayerName(layer); in SetProfilerLayer()
|
| D | smartperf_main.cpp | 33 OHOS::SmartPerf::ProfilerFPS fps; in main() local 34 fps.GetFPS(argc, vec); in main()
|
| D | README_zh.md | 44 | -f | 是否采集fps。 |否| 67 -f get fps and fps jitters
|
| /developtools/smartperf_host/ide/test/trace/bean/ |
| D | BoxSelection.test.ts | 23 let fps = new Fps(); variable 185 fps = { 188 fps: 0, 190 expect(fps).not.toBeUndefined(); 191 expect(fps).toMatchInlineSnapshot( 195 fps: expect.any(Number) }, `
|
| /developtools/profiler/host/smartperf/client/client_command_fps/ |
| D | main.cpp | 34 int fps; member 42 fps = 0; in FpsInfo() 191 tmp.fps = 0; in GetSurfaceFrame() 196 fpsInfo.fps = 0; in GetSurfaceFrame() 219 fpsInfo.fps = 0; in GetSurfaceFrame() 224 fpsInfo.fps = fpsInfo.preFps; in GetSurfaceFrame() 229 fpsInfo.fps = 0; in GetSurfaceFrame() 234 fpsInfo.fps = fpsConfig.fpsGb; in GetSurfaceFrame() 238 fpsInfo.fps = fpsInfo.preFps; in GetSurfaceFrame() 241 fpsInfo.fps = 0; in GetSurfaceFrame() [all …]
|
| /developtools/profiler/host/smartperf/client/client_command/include/ |
| D | profiler_fps.h | 30 int fps; member 39 fps = 0; in Clear() 44 if (fps != other.fps) { 59 fps = 0; in FpsInfoProfiler()
|
| D | FPS.h | 23 int fps; member 31 fps = 0; in Clear() 36 if (fps != other.fps) { 51 fps = 0; in FpsInfo()
|
| /developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/ |
| D | htrace_hidump_parser.cpp | 47 auto fps = hidumpData.fps(); in Parse() local 48 traceDataCache_->GetHidumpData()->AppendNewHidumpInfo(newTimeStamp, fps); in Parse()
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerFPS.ts | 30 fps( 62 export function fps( function 80 if ((it.fps || 0) > FpsStruct.maxFps) { 81 FpsStruct.maxFps = it.fps || 0; 112 fps: number | undefined; 124 … let drawHeight: number = ((data.fps || 0) * (data.frame.height || 0) * 1.0) / FpsStruct.maxFps; 139 … let drawHeight: number = ((data.fps || 0) * (data.frame.height || 0) * 1.0) / FpsStruct.maxFps;
|
| /developtools/smartperf_host/ide/test/trace/component/chart/ |
| D | SpFpsChart.test.ts | 36 { startNS: 0, fps: 1 }, 37 { startNS: 2, fps: 3 },
|
| /developtools/smartperf_host/ide/src/trace/bean/ |
| D | FpsStruct.ts | 26 fps: number | undefined; property in FpsStruct 39 … ((fpsBeanStructData.fps || 0) * (fpsBeanStructData.frame.height || 0) * 1.0) / FpsStruct.maxFps; 73 … ((fpsBeanStructData.fps || 0) * (fpsBeanStructData.frame.height || 0) * 1.0) / FpsStruct.maxFps;
|
| /developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
| D | ProcedureWorkerFPS.test.ts | 20 import { fps, FpsStruct, FpsRender } from '../../../../src/trace/database/ui-worker/ProcedureWorker… 37 fps(dataList, [{ length: 1 }], 1, 100254, 100254, rect, true); 53 fps(fpsDataList, [{ length: 0 }], 1, 100254, 100254, rect, false);
|
| /developtools/profiler/host/smartperf/client/client_ui/ |
| D | README_zh.md | 95 | fps | 帧率。| 99 步骤1:进入shell中查看SP_daemon进程是否存在,没有则需启动SP_daemon进程(SP_daemon用于采集fps、ram等指标), 然后打开桌面的Smartperf工具。(采集指标少… 133 3) fps采集不到如何解决<br>
|
| /developtools/smartperf_host/trace_streamer/test/unittest/filter/ |
| D | animation_filter_test.cpp | 185 auto fps = stream_.traceDataCache_->GetDeviceInfo()->PhysicalFrameRate(); variable 186 EXPECT_EQ(fps, FPS_60); 198 fps = stream_.traceDataCache_->GetDeviceInfo()->PhysicalFrameRate(); 199 EXPECT_EQ(fps, FPS_90); 211 fps = stream_.traceDataCache_->GetDeviceInfo()->PhysicalFrameRate(); 212 EXPECT_EQ(fps, FPS_120);
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/item/ |
| D | FPS.ets | 60 MainWorker.postMessage({ "fps": true, "pkg": globalThis.collectPkg }) 61 SPLogger.DEBUG(FPS.name, "messageQueue for fps" + globalThis.fpsArr.length) 70 this.fpsMap.set("fps", extractNumber(curFPS))
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/workers/ |
| D | worker.js | 94 if (socketCollectItems.fps) { 156 let fps = arrStr[0].split("||") 158 … parentPort.postMessage("FPS$" + fps[1].toString() + "$" + fpsJitter[1].toString())
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/entity/ |
| D | DatabaseEntity.ets | 149 //fps 150 public fps: String; 243 fps?: String, 279 this.fps = fps 342 setFpsData(fps: String, fpsJitter: String) { 343 this.fps = fps
|
| /developtools/smartperf_host/trace_streamer/src/filter/ |
| D | animation_filter.cpp | 60 uint32_t fps = BILLION_NANOSECONDS / generateTimePeriod; in UpdateDeviceFps() local 61 if (fps < FPS_70) { in UpdateDeviceFps() 63 } else if (fps < FPS_100) { in UpdateDeviceFps() 68 TS_LOGI("physical frame rate is %u", fps); in UpdateDeviceFps()
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/ |
| D | Summary.ets | 64 // fps和ram 为空时 过滤掉脏数据 0和空 96 if (gpDataCur.fps == "" || gpDataCur.fps == "0") { 101 let fpxCur = Number(gpDataCur.fps).valueOf() 106 fpsList.push(Number(gpDataCur.fps).valueOf())
|
| /developtools/profiler/device/plugins/hidump_plugin/src/ |
| D | hidump_plugin.cpp | 175 uint32_t fps = 0; in ParseHidumpInfo() local 176 strvalue >> fps; in ParseHidumpInfo() 181 eve->set_fps(fps); in ParseHidumpInfo()
|