绩效指标清单 [英] List of Performance Indicators

查看:82
本文介绍了绩效指标清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在我的应用程序代码中包含系统性能指标.我已经有可以使用的C#代码,在选定的时间点上,该代码在 System.Diagnostics.PerformanceCounter 对象上调用 NextValue 属性.这可以正常工作,并返回我系统中所选性能指标的性能值,例如2级GC的数量,CPU使用率等.

我现在的问题是:

-对于特定问题,例如内存使用,线程使用,GC数量等.我想使用适当的指示器. 我在哪里可以找到绩效指标列表以及每个指标的说明?


我确实在控制面板的性能管理部分中列出了可用的指标(我使用Windows 7).但是,所有指标均使用我的系统语言,而不是我的代码所需要的原始格式!

我已经用谷歌搜索列表,但找不到任何列表.关于如何包括指标等的文档很多,但是关于哪些指标可用以及它们做什么的信息却很少.是否有人知道在哪里可以找到合适的列表,最适合Windows 7和XP?

谢谢

Peter

Hi

I''d like to include system performance indicators in my application code. I already have working C# code which, in selected points in time, calls the NextValue property on a System.Diagnostics.PerformanceCounter obejct. This works fine and returns performance values for selected performance indicators for my system, such as number of level 2 GCs, CPU usage etc.

My question now is:

- For a particular problem, such as memory usage, thread usage, number of GCs etc. I''d like to use the proper indicators. Where do I find a list of performance indicators with a description of each indicator?


I do have a list of available indicators in the performance management part of control panel (I use Windows 7). However, all the indicators are in my system language and not in the original format which I would need for my code!

I already googled for lists but couldn''t find any. There is a lot of documentation on how to include indicators, etc. but very little about what which indicators are available and what they do. Does anybody know where to find a proper list, ideally for Windows 7 and XP?

Thanks

Peter

推荐答案

看看这个: ^ ].

这是非托管API,因此必须使用Interop来实现.

祝你好运
Espen Harlinn
Take a look at this: Performance Counters Functions[^].

This is the unmanaged API, so you have to use Interop to get at it.

Best of luck
Espen Harlinn


您好以下链接非常有帮助:

http://msdn.microsoft.com/en-us/library/ff647791.aspx [ ^ ]

http://www.geekpedia.com/tutorial211_Using-Performance-Counters-in-Csharp.html [^ ]

谢谢
彼得
Hi the following links were very helpful:

http://msdn.microsoft.com/en-us/library/ff647791.aspx[^]

http://www.geekpedia.com/tutorial211_Using-Performance-Counters-in-Csharp.html[^]

Thanks
Peter


这篇关于绩效指标清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆