Home | History | Annotate | Download | only in screenshot

Lines Matching defs:screenshot

5 This profiler will take a screenshot at the specified interval.
14 class screenshot(profiler.profiler):
15 """ Profiler for running screenshot """
20 """Initializes the screenshot profiler.
23 interval (int): How often to take a screenshot in seconds
37 """ Thread that runs screenshot at the specified interval """
46 logging.info("screenshot thread starting")
54 "screenshot-%d.png" % (int(start_time)))
57 cmd = ['screenshot', path]
59 logging.debug("Taking screenshot")
67 # If the screen is turned off, screenshot will fail
68 logging.info('screenshot failed. code: %d, error: %s ',
80 logging.info("Stopping screenshot thread")
85 # It's very unlikely that the screenshot command will take more
89 logging.info("screenshot thread stopped")