Source code for asv.plugins.runsnake
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from .. import asv_profiling, util
[docs]
class RunSnakeRunGui(asv_profiling.ProfilerGui):
[docs]
description = "RunSnakeRun http://www.vrplumber.com/programming/runsnakerun/"
@classmethod
[docs]
def is_available(cls):
return util.has_command('runsnake')
@classmethod
[docs]
def open_profiler_gui(cls, profiler_file):
command = util.which('runsnake')
return util.check_call([command, profiler_file], timeout=None)