【问题标题】:Initiate application profiling from code从代码启动应用程序分析
【发布时间】:2014-08-13 07:32:17
【问题描述】:

我们有什么方法可以从 .Net 应用程序 (WPF) 的代码中启动应用程序 profiling。这意味着无需从 Visual Studio 显式运行它。

【问题讨论】:

  • Web、WPF 还是 WinForms?
  • 已将原始问题更新为 WPF - 谢谢!

标签: .net visual-studio-2010 visual-studio visual-studio-2012 visual-studio-2013


【解决方案1】:

您可以将Perfmon.exe 与命令行参数一起使用

Command-Line Options for Faster Access to Performance Data

可以使用Performance Counter Classhere是一篇关于使用性能计数器类的文章

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-11-27
    • 2013-02-04
    • 2011-02-05
    • 2011-08-05
    • 2014-02-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多