975
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
How to break down camera internal ION with memprofile script ?
分析器设置:启用以下 camxsettings 以分析内存使用情况(ImageBuffer 内存 - 包括
camx 内部缓冲器、CHI 缓冲器)
logInfoMask=32
enableMemoryStats=TRUE
在运行脚本之前检查日志:为了更好地比较并正确生成 excel 比较,请确保日志仅包含
一组用例(开始-停止)。
01-01 04:52:18.351 773 8381 I CamX : [ INFO][MEMMGR ] camxmempoolmgr.cpp:120
RegisterBufferManager() MPM : Number of groups is 0, start of use case
...
01-01 04:52:51.162 773 1537 I CamX : [ INFO][MEMMGR ] camxmempoolgroup.cpp:1838
PrintMemoryPoolManagerStats() MemPoolMgrStats : Allocation : num=0, peakNum=86, size=0,
peakSize=206917504
01-01 04:52:51.162 773 1537 I CamX : [ INFO][MEMMGR ] camxmempoolgroup.cpp:1845
PrintMemoryPoolManagerStats() MemPoolMgrStats : MapsCPU : num=0, peakNum=79, size=0,
peakSize=100230784; MapsDevices : num=-20, peakNum=-1, size=4133001856,
peakSize=4292607104
运行脚本: 脚本位置 chi-cdk\tools\memprofile\get_memory_stats.py