性能计数器:如何在给定类别中拥有超过 1 个 AverageBase?
假设我有一个包含 2 个 AverageTimer32 计数器的类别:AverageRead 和 AverageWrite。我如何给他们两个基地?我的意思是,如果我添加 2 个 AverageBase 计数器:AverageReadbase 和 AverageWritebase,框架如何知道哪个基数属于哪个 AverageTimer32 计数器?名字?或者在同一类别中不可能吗?
Suppose I have a category that contains 2 AverageTimer32 counters: AverageRead and AverageWrite. How do I give them both a Base? I mean if I add 2 AverageBase counters: AverageReadbase and AverageWritebase, how does the framework know which base belongs to which AverageTimer32 counter? The name? Or is that not possible within the same category?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基本计数器按位置与其父计数器相关联。
另请参阅:性能计数器平均计时器如何获取与他们的基地有关?
A base counter is associated with its parent counter by position.
See also: How do performance counter average timers get associated with their base?