问题描述
多年前,我写了一些代码来发布数据以供perfmon使用。使用这些计数器是很好的文档,但我发现很难找到(当时)良好的文档和示例代码发布perfmon的数据。
Years ago I wrote some code to "publish" data for perfmon to consume. Using those counters is pretty well documented, but I found it challenging to find (at the time) good documentation and sample code to publish the data for perfmon.
有人知道在哪里可以得到这个文档?我似乎还记得一些类封装,但我可能会错误。
Does anyone know where I can get this documentation? I also seem to recall some class wrappers, but I may be mistaken.
我发现,我会继续寻找自定义应用程序性能计数器。
I did find this, and I will keep looking for "custom application performance counters".
推荐答案
你带来了回忆。
,,介绍如何创建自己的perfmon计数器,它很容易(在切割和粘贴他的模板代码后,只需在dll中添加共享内存变量,并根据需要更新它们)。
From 1998, Jeffrey Richter wrote an article in Microsoft Systems Journal describing how to create your own perfmon counters, its very easy (after cutting and pasting his template code just add shared-memory variables in a dll, and update them as needed).
这篇关于在哪里可以找到用于在C ++中发布数据的文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!