文件名称:TestAPP
- 所属分类:
- 系统编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3.45mb
- 下载次数:
- 0次
- 提 供 者:
- l***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
CPU和内存占用率监视并显示程序
测试程序中,我用了一个自己封装的DLL来分别获取CPU和内存的占用率。是在一个Timer中定时刷新获取的。这个DLL你也可以拿来自己用, DLL导出函数为2个:
UINT GetCpuUseage() //返回CPU占用率
UINT GetMemUseage() //返回内存占用率
-CPU and memory occupancy rate monitor and display program testing procedure, I used a package of its own DLL to obtain the CPU and memory, respectively, the occupancy rate. Are in a Timer in the timing of the refresh access. This DLL you can use themselves, DLL Export Function 2: UINT GetCpuUseage ()// return CPU occupancy rate UINT GetMemUseage ()// return the memory occupancy rate
测试程序中,我用了一个自己封装的DLL来分别获取CPU和内存的占用率。是在一个Timer中定时刷新获取的。这个DLL你也可以拿来自己用, DLL导出函数为2个:
UINT GetCpuUseage() //返回CPU占用率
UINT GetMemUseage() //返回内存占用率
-CPU and memory occupancy rate monitor and display program testing procedure, I used a package of its own DLL to obtain the CPU and memory, respectively, the occupancy rate. Are in a Timer in the timing of the refresh access. This DLL you can use themselves, DLL Export Function 2: UINT GetCpuUseage ()// return CPU occupancy rate UINT GetMemUseage ()// return the memory occupancy rate
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TestAPP
.......\cpuratecontrol.cpp
.......\cpuratecontrol.h
.......\cpuratecontrol1.cpp
.......\cpuratecontrol1.h
.......\cpuratecontrol2.cpp
.......\cpuratecontrol2.h
.......\Debug
.......\ReadMe.txt
.......\res
.......\...\TestAPP.rc2
.......\resource.h
.......\StdAfx.cpp
.......\StdAfx.h
.......\TestAPP.aps
.......\TestAPP.cpp
.......\TestAPP.dsp
.......\TestAPP.dsw
.......\TestAPP.h
.......\TestAPP.ncb
.......\TestAPP.opt
.......\TestAPP.plg
.......\TestAPP.rc
.......\TestAPPDlg.cpp
.......\TestAPPDlg.h
.......\cpuratecontrol.cpp
.......\cpuratecontrol.h
.......\cpuratecontrol1.cpp
.......\cpuratecontrol1.h
.......\cpuratecontrol2.cpp
.......\cpuratecontrol2.h
.......\Debug
.......\ReadMe.txt
.......\res
.......\...\TestAPP.rc2
.......\resource.h
.......\StdAfx.cpp
.......\StdAfx.h
.......\TestAPP.aps
.......\TestAPP.cpp
.......\TestAPP.dsp
.......\TestAPP.dsw
.......\TestAPP.h
.......\TestAPP.ncb
.......\TestAPP.opt
.......\TestAPP.plg
.......\TestAPP.rc
.......\TestAPPDlg.cpp
.......\TestAPPDlg.h