摘要:
通过ctypes 类库中的win32方法GetProcessMemoryInfo()获得当前进程的内存使用情况。该函数可以在32或者64位,python2.6+及python3.x之上都能有用。"""Functions for getting memory usage of Windows processes."""__all__ = ['get_current_process', 'get_memory_info', 'get_memory_usage']import ctypesfr 阅读全文
posted @ 2013-08-05 20:23
|残阳|露
阅读(1383)
评论(0)
推荐(0)

浙公网安备 33010602011771号