WP7 RTM 模拟器在右侧显示帧计数器和 dx 信息

编程入门 行业动态 更新时间:2024-10-24 10:16:19
本文介绍了WP7 RTM 模拟器在右侧显示帧计数器和 dx 信息 - 这是默认设置吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我在 RTM 版本的 Windows Phone 7 工具中创建的任何应用程序都会在模拟器屏幕的右侧显示帧计数器、内存和 GPU 诊断信息.

Any application I create in the RTM version of the Windows Phone 7 tools displays the framecounter,memory and gpu diagnostic info along the right side of the emulator screen.

我确实更改了任何设置/首选项 - 这是 RTM 模拟器的默认行为吗?

I did change any settings/preferences - is this the default behavior of the RTM emulator?

谢谢迈克尔

推荐答案

模拟器没有.默认情况下的应用程序,是的.(如果附加了调试器)

The emulator no. The apps by default, yes. (if the debugger is attached)

如果您查看 App.xaml.cs,您会在自动生成的构造函数中找到此代码:

If you look in App.xaml.cs you'll find this code in the autogenerated constructor:

        // Show graphics profiling information while debugging.
        if (System.Diagnostics.Debugger.IsAttached)
        {
            // Display the current frame rate counters.
            Application.Current.Host.Settings.EnableFrameRateCounter = true;

            // Show the areas of the app that are being redrawn in each frame.
            //Application.Current.Host.Settings.EnableRedrawRegions = true;

            // Enable non-production analysis visualization mode, 
            // which shows areas of a page that are being GPU accelerated with a colored overlay.
            //Application.Current.Host.Settings.EnableCacheVisualization = true;
        }

如果需要,您可以注释掉 enableframeratecounter,或者您可以取消注释其他人以获得更多内容.

you can comment out the enableframeratecounter if you want it off, or you can uncomment those others to get more stuff.

这篇关于WP7 RTM 模拟器在右侧显示帧计数器和 dx 信息 - 这是默认设置吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-25 15:37:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1119335.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:模拟器   计数器   信息   RTM   dx

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!