iPhone 缓存未命中
有没有办法在 iPhone 应用程序中分析缓存未命中情况?
告诉 Shark 中有一个“硬件测量”分析模式,可以启用 L2 缓存未命中分析 - 但是,我没有获得此模式在 shark 中显示(我正在使用最新的 iPhone SDK)
有任何提示吗?
谢谢!
is there a way to profile cache misses in an iphone application?
tells that there is a 'Hardware Measurements' Profiling mode in Shark which enables L2 cache miss profiling - however, i don't get this mode displayed in shark (i'm using the latest iPhone SDK)
any hints on that?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Shark 有一个记录 L2 缓存未命中的选项,但我从未见过此功能。我个人认为这是苹果内部使用的东西,不暴露给我们第三方开发者。提交一个错误,也许他们会改变主意。或者修复它(如果它应该有效)。
Shark has an option to record L2 Cache misses but I have never seen this work. Personally I think this is something that is used by Apple internally and not exposed to us third-party developers. File a bug, maybe they will change their mind. Or fix it if it is supposed to work.