Zephyr Footprint - Where are we and where are we going - Ederson de Souza, Intel Corporation.pdf

编号:144866 PDF 23页 651.91KB 下载积分:VIP专享
下载报告请您先登录!

Zephyr Footprint - Where are we and where are we going - Ederson de Souza, Intel Corporation.pdf

1、Ederson de SouzaOS Development Engineer20232 Footprint?Tools Common Hints Experiments Function pointers considered harmful Not really What about LTO?Ending thoughts Q&!A3 How big is the impact on some resource ROM/Disk/Flash RAM Power consumption Why do we care about it?Save resources Money EnergyWh

2、ere are we?4 But first,lets measure it Otherwise,improvements cant be proven Nor regressions detected Zephyr has a nice ROM report toolwest build-t rom_report56 Disable unused features/subsystems Avoid holes in structs west build-t pahole Limit number of threads Logging Power management Try differen

3、t toolchains78 Experimenting what we do So,we can ask if we do Not prescribing Some test were not checked on runtime So,things may be broken Used some open-source projects on the tests Not implying anything Focus on application size9 Compiler loses visibility on whats being used Dead code eliminatio

4、n misses Zephyr APIs extensively use them /Declaration _subsystem struct kscan_driver_api kscan_config_t config;kscan_disable_callback_t disable_callback;kscan_enable_callback_t enable_callback;/Driver instantiationstatic const struct kscan_driver_api kscan_npcx_driver_api=.config=kscan_npcx_configu

5、re,.enable_callback=kscan_npcx_enable_interface,.disable_callback=kscan_npcx_disable_interface,;10 Zephyr APIs extensively use them(II)/API usage _syscall int kscan_enable_callback(const struct device*dev);static inline int z_impl_kscan_enable_callback(const struct device*dev)const struct kscan_driv

6、er_api*api=(const struct kscan_driver_api*)dev-api;if(api-enable_callback=NULL)return-ENOSYS;return api-enable_callback(dev);11 What if we have something like C+templates?kscan?Could _Generic come to help?How to have the type at coding time?Maybe DTS can help here?Didnt explore this line further But

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(Zephyr Footprint - Where are we and where are we going - Ederson de Souza, Intel Corporation.pdf)为本站 (2200) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠