示例#1
0
 def get_ext_memory_info(self):
     """Return a tuple with the process' RSS and VMS size."""
     rss, vms, pfaults, pageins = _psutil_osx.get_process_memory_info(self.pid)
     return self._nt_ext_mem(rss, vms,
                             pfaults * _PAGESIZE,
                             pageins * _PAGESIZE)
示例#2
0
 def get_ext_memory_info(self):
     """Return a tuple with the process' RSS and VMS size."""
     rss, vms, pfaults, pageins = _psutil_osx.get_process_memory_info(
         self.pid)
     return self._nt_ext_mem(rss, vms, pfaults * _PAGESIZE,
                             pageins * _PAGESIZE)
示例#3
0
 def get_memory_info(self):
     """Return a tuple with the process' RSS and VMS size."""
     rss, vms = _psutil_osx.get_process_memory_info(self.pid)[:2]
     return nt_meminfo(rss, vms)
示例#4
0
 def get_memory_info(self):
     """Return a tuple with the process' RSS and VMS size."""
     rss, vms = _psutil_osx.get_process_memory_info(self.pid)[:2]
     return nt_meminfo(rss, vms)