大家好,我想实时监控我的网络状态,比如实时流量或网速,有相关的WIN32 API或方案吗?

sunxuns 2012-11-08 12:35:38
大家好,我想实时监控我的网络状态,比如实时流量或网速,有相关的WIN32 API或方案吗?

或有相关的封装的DLL也可。
...全文
578 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Binzo 2012-11-10
  • 打赏
  • 举报
回复
PDH 是这个接口的缩写。 1楼是叫你去查这个接口具体怎么用。
chen_zhenyi 2012-11-09
  • 打赏
  • 举报
回复
搞一个红蜘蛛代理服务器就行了
sunxuns 2012-11-09
  • 打赏
  • 举报
回复
看不懂哦
赵4老师 2012-11-08
  • 打赏
  • 举报
回复
Performance Data Helper You can use the performance data provided by applications, services, and drivers to determine system bottlenecks and fine-tune system and application performance. The easiest way to display the performance data is to use the Performance Monitor application located in the Administrative Tools group. If you need to collect performance data for your application, the easiest way to do this is to use the interface provided by the Performance Data Helper (PDH) interface. Applications that need more control over performance data collection can use the registry interface directly. This is the method that is used by the functions in PDH.DLL and by the Performance Monitor. It is more efficient for the Performance Monitor to use the registry interface, because it displays counters grouped by object. If you are retrieving individual counters, rather than a group of counters from a particular object, it is just as efficient to use the PDH interface. This overview discusses both interfaces. The PDH Interface The Registry Interface In addition, this overview discusses how to add your own performance counters, by creating an extensible performance DLL. For more information, see Adding Performance Counters.

65,189

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧