性能计数器

发布于 2024-08-26 15:35:22 字数 152 浏览 3 评论 0原文

我为我的 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 技术交流群。

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

发布评论

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

评论(1

似梦非梦 2024-09-02 15:35:22

你做得正确。只是 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.

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