DescriptionMove 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.GetMemoryStatsChromeOS(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.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134622
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address review comment from patch set 1. #
Messages
Total messages: 3 (0 generated)
|