Move ChromeOS memory collection function from perf.py to pyauto.py.
Also changed the name of the function from _GetMemoryStats to GetCrosMemoryStats. This change allows autotests (that import pyauto) to invoke the memory collection function using something like this: mem_info_dict = self.pyauto.GetCrosMemoryStats(20) (except replace '20' with a suitable duration for the given test). BUG=None TEST=Verified that autotest graphics_WebGLPerformance can successfully invoke GetCrosMemoryStats(), given the change to pyauto.py in this CL. Review URL: https://chromiumcodereview.appspot.com/10271023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134622 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment