清除仪器CPU分析

发布于 2025-01-07 02:25:34 字数 157 浏览 2 评论 0原文

我可能在这里遗漏了一些明显的东西,但是 Instruments 有没有办法在不重新启动应用程序的情况下清除 CPU 配置文件数据?

我有一个 iOS 游戏,我试图只分析核心游戏屏幕,但我必须通过其他几个屏幕才能达到这一点,到那时我有大量我不关心的分析数据,它是扭曲了我想要查看的结果。

I'm probably missing something obvious here, but is there a way in Instruments to clear the CPU profile data without restarting the App?

I have an iOS game I'm trying to profile just to core game screen, but I have to go though several other screens to get to that point and by that time I have a ton of profiling data I don't care about and it's skewing the results of that I'm trying to look at.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹊巢 2025-01-14 02:25:34

我不知道有什么方法可以在不重新启动应用程序的情况下启动另一个仪器运行,但您可以使用工具栏中的“检查范围”按钮隐藏您不关心的分析数据。跟踪窗口中的图形上方是时间线。单击感兴趣的分析数据开始的时间线,然后单击左侧的检查范围按钮。图形将在您设置检查范围的位置突出显示,并且详细视图中的统计数据将更新以显示您设置的检查范围的统计数据。

如果需要进一步细化检查范围,请单击时间线中的第二个点,然后单击右侧的检查范围按钮。单击中间的检查范围按钮将清除您设置的检查范围。

I don't know of any way to launch another Instruments run without restarting the app, but you can hide the profiling data you don't care about by using the Inspection Range buttons in the toolbar. Above the graphs in the trace window is a timeline. Click the timeline where the interesting profiling data begins, and click the left Inspection Range button. The graph will be highlighted where you set the inspection range, and the statistics in the detail view will update to show the statistics for the inspection range you set.

If you need to further refine the inspection range, click a second point in the timeline and click the right Inspection Range button. Clicking the middle Inspection Range button clears the inspection range you set.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文