def graphics_state_checker_initialize(self): """Create and initialize the graphics state checker object. This will establish existing errors and take a snapshot of graphics kernel memory. """ self._graphics_state_checker = graphics_utils.GraphicsStateChecker()
def initialize(self): self.GSC = graphics_utils.GraphicsStateChecker() self.sampler_lock = threading.Lock() # TODO: Create samplers for other platforms (e.g. x86). if utils.get_board().lower() in ['daisy', 'daisy_spring']: # Enable ExynosSampler on Exynos platforms. The sampler looks for # exynos-drm page flip states: 'wait_kds', 'rendered', 'prepared', # and 'flipped' in kernel debugfs. # Sample 3-second durtaion for every 5 seconds. self.kernel_sampler = sampler.ExynosSampler(period=5, duration=3) self.kernel_sampler.sampler_callback = self.exynos_sampler_callback self.kernel_sampler.output_flip_stats = ( self.exynos_output_flip_stats)
def initialize(self): self.GSC = graphics_utils.GraphicsStateChecker() if utils.is_freon(): # If UI is running, we must stop it and restore later. self._services = service_stopper.ServiceStopper(['ui']) self._services.stop_services()
def initialize(self): self.GSC = graphics_utils.GraphicsStateChecker()
def initialize(self): self.GSC = graphics_utils.GraphicsStateChecker() self._player = input_playback.InputPlayback() self._player.emulate(input_type='keyboard') self._player.find_connected_inputs()
def initialize(self): # GpuReset should pretty much be the only test where we don't want to raise # a test error when we detect a GPU hang. self.GSC = graphics_utils.GraphicsStateChecker( raise_error_on_hang=False)
def initialize(self): super(graphics_GLES2ConformChrome, self).initialize() self.GSC = graphics_utils.GraphicsStateChecker()
def initialize(self): super(graphics_KhronosGLCTSChrome, self).initialize() self.GSC = graphics_utils.GraphicsStateChecker()
def initialize(self): self.GSC = graphics_utils.GraphicsStateChecker() self.perf_keyval = {}