在CamX中如何判断kernel是否有发生丢帧

在CamX中,如何判断kernel是否有发生丢帧?

请先 登录 后评论

1 个回答

凡乐

可以在dmesg中搜索skip,如果有 Skip Frame 打印则表示丢帧了

dmesg |grep -iE skip
[ 1837.189967] CAM_INFO: CAM-CRM: __cam_req_mgr_find_dev_name: 227 Skip Frame: req: 395 not ready on link: 0x860108 for pd: 2 dev: cam-sensor open_req count: 2
[ 1840.487870] CAM_INFO: CAM-CRM: __cam_req_mgr_find_dev_name: 227 Skip Frame: req: 493 not ready on link: 0x860108 for pd: 2 dev: cam-sensor open_req count: 2
[ 1841.054185] CAM_INFO: CAM-CRM: __cam_req_mgr_find_dev_name: 227 Skip Frame: req: 509 not ready on link: 0x860108 for pd: 2 dev: cam-sensor open_req count: 2
[ 1845.151650] CAM_INFO: CAM-CRM: __cam_req_mgr_find_dev_name: 227 Skip Frame: req: 631 not ready on link: 0x860108 for pd: 2 dev: cam-sensor open_req count: 2
[ 1848.516084] CAM_INFO: CAM-CRM: __cam_req_mgr_find_dev_name: 227 Skip Frame: req: 731 not ready on link: 0x860108 for pd: 2 dev: cam-sensor open_req count: 1
[ 1850.181998] CAM_INFO: CAM-CRM: __cam_req_mgr_find_dev_name: 227 Skip Frame: req: 780 not ready on link: 0x860108 for pd: 2 dev: cam-sensor open_req count: 2
[ 1850.314912] CAM_INFO: CAM-CRM: __cam_req_mgr_find_dev_name: 227 Skip Frame: req: 783 not ready on link: 0x860108 for pd: 2 dev: cam-sensor open_req count: 2

请先 登录 后评论