性能计数器
我为我的 C# 应用程序创建了一个性能计数器。它的类型是NumberOfItems32
。 我不知道为什么,但当我的计数器肯定比这个大得多时,性能监视器在 y 轴上仅将我显示为最大值 100。 你知道这是正确的行为还是我做错了什么?
I created a performance counter for my C# application. Its type is NumberOfItems32
.
I don't know why but the Performance Monitor is displaying me on the y-axis only as maximum value only 100 when my counter is much more bigger than this for sure.
Do you know if this is the correct behavior or am I doing something wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你做得正确。只是 perfmon 有点愚蠢。右键单击主窗口中的计数器,然后单击“属性”,然后单击“数据”选项卡,然后使用“缩放”。
You are doing correctly. Just perfmon is a bit stupid. Right click on your counter in main window, then properties, then Data tab, then play with Scale.