HomeSort by relevance Sort by last modified time
    Searched refs:profilers (Results 1 - 23 of 23) sorted by null

  /external/autotest/client/tests/profiler_test/
profiler_test.py 30 profilers here and in "run_once" it would be too late for that.
35 profilers = self.job.profilers
36 profilers.add(self._profiler, *self._profiler_args,
38 profilers.start(self)
42 profilers.stop(self)
43 profilers.report(self)
45 profilers.delete(self._profiler)
  /external/autotest/client/tests/linus_stress/
linus_stress.py 27 profilers = self.job.profilers
28 if profilers.present():
29 profilers.start(self)
34 if profilers.present():
35 profilers.stop(self)
36 profilers.report(self)
  /external/autotest/client/tests/profiler_sync/
profiler_sync.py 2 # and stop profilers on a collection of hosts at approximately the same
16 hosts that will be launching profilers. (local_sync_profilers)
24 @param all_ids: A list of all hosts to synchronize profilers on.
26 profilers = self.job.profilers
40 profilers.start(self)
46 profilers.stop(self)
47 profilers.report(self)
  /external/autotest/client/tests/reaim/
reaim.py 61 profilers = self.job.profilers
62 if not profilers.only():
67 if profilers.present():
68 profilers.start(self)
70 profilers.stop(self)
71 profilers.report(self)
  /external/autotest/utils/
site_test_importer.sh 14 # Add all profilers
15 ./test_importer.py -p /usr/local/autotest/client/profilers
test_importer.py 86 profilers_path = os.path.join(autotest_dir, "client/profilers")
89 profilers = get_tests_from_fs(profilers_path, '.*py$')
90 update_profilers_in_db(profilers, add_noncompliant=add_noncompliant,
124 found in the filesystem. Also removes profilers which are just
135 # Find profilers that are no longer present
137 full_path = os.path.join(autotest_dir, "client", "profilers",
158 # Find profilers that are no longer present
160 full_path = os.path.join(autotest_dir, "client", "profilers",
166 def update_profilers_in_db(profilers, description='NA',
169 Add only profilers to the database from the filesystem
    [all...]
packager.py 25 For profilers we need to exclude everything except the __init__.py
26 file so that the profilers can be imported.
31 # Get the profilers directory
32 prof_dir = os.path.join(client_dir, 'profilers')
34 # Include the __init__.py file for the profilers and exclude all its
38 exclude_string += ' --exclude="profilers/%s"' % f
63 "from client/profilers directory and upload to the repo",
69 "directory alone without the tests, deps and profilers",
84 "(includes the client, tests, deps and profilers)",
134 # for the profilers and dep
    [all...]
  /external/autotest/server/
standalone_profiler.py 4 """Runs profilers on a machine when no autotest job is running.
31 def generate_test(machines, hostname, profilers, timeout_start, timeout_stop,
34 Generate a control file that enables profilers and starts profiler_sync.
39 @param profilers: a sequence of 3 items tuples where the first item is a
42 with "job.profilers.add()" in the control file, third item is
45 profilers to start (None means no timeout)
47 profilers to stop (None means no timeout)
53 for profiler in profilers:
54 control_file.append("job.profilers.add(%s)"
62 for profiler in reversed(profilers)
    [all...]
profilers.py 8 PROFILER_TMPDIR = '/tmp/profilers'
27 class profilers(profiler_manager.profiler_manager): class in inherits:profiler_manager.profiler_manager
29 super(profilers, self).__init__(job)
51 super(profilers, self).add(profiler, *args, **dargs)
56 super(profilers, self).delete(profiler)
172 We initialize the profilers just before start because only then we
198 # wait for the profilers to be added
215 # wait for the profilers to start
230 # wait for the profilers to stop
autotest_unittest.py 8 from autotest_lib.server import autotest, utils, hosts, server_job, profilers
28 self.host.job.profilers = self.god.create_mock_class(
29 profilers.profilers, "profilers")
30 self.host.job.profilers.add_log = {}
server_job.py 40 from autotest_lib.server import profilers
322 self.profilers = profilers.profilers(self)
    [all...]
autotest.py 94 It also supports profilers.
325 dirs_to_exclude = set(["tests", "site_tests", "deps", "profilers",
566 # on full-size installs, turn on any profilers the server is using
568 running_profilers = host.job.profilers.add_log.iteritems()
573 prologue_lines.append("job.profilers.add(%s)\n"
    [all...]
  /external/autotest/server/site_tests/telemetry_AFDOGenerate/
telemetry_AFDOGenerate.py 33 from autotest_lib.server import profilers
266 # Save the current settings for profilers.
267 saved_profilers = self.job.profilers
270 # Reset the state of the profilers.
272 self.job.profilers = profilers.profilers(self.job)
278 # Restore the settings for the profilers.
  /external/autotest/client/bin/
profilers.py 7 class profilers(profiler_manager.profiler_manager): class in inherits:profiler_manager.profiler_manager
9 prof_dir = os.path.join(self.job.autodir, "profilers", profiler)
20 profiler, "autotest_lib.client.profilers.%s" % profiler)
job.py 30 from autotest_lib.client.bin import profilers
262 self.profilers = profilers.profilers(self)
413 internally by the profilers, deps and tests code.
417 untarred into. (ex: client/profilers/<name> for profilers)
    [all...]
  /external/autotest/client/common_lib/
test.py 389 if not self.job.profilers.present():
391 'No profilers have been added but '
440 @param profile_only: If true run X iterations with profilers enabled.
451 # profilers to run during the test iterations. Let's reserve only
453 # all profilers if they are present and active.
454 profilers = self.job.profilers
455 if profilers.active():
456 profilers.stop(self)
507 profilers = self.job.profiler
    [all...]
test_unittest.py 28 self.job.profilers = MockProfilerManager()
  /external/autotest/frontend/afe/
control_file.py 151 def _get_profiler_commands(profilers, is_server, profile_only):
155 for profiler in profilers:
156 prepend.append("job.profilers.add('%s')" % profiler.name)
157 append.append("job.profilers.delete('%s')" % profiler.name)
176 def generate_control(tests, is_server=False, profilers=(),
184 @param profilers A list of profiler objects to enable during the tests.
197 prepend, append = _get_profiler_commands(profilers, is_server, profile_only)
rpc_utils.py 254 def prepare_generate_control_file(tests, profilers, db_tests=True):
261 for profiler in profilers]
    [all...]
rpc_interface.py 762 # profilers
851 def generate_control_file(tests=(), profilers=(),
    [all...]
  /external/autotest/cli/
job_unittest.py 146 u'control_file': u'kernel = \'8210088647656509311.kernel-smp-2.6.18-220.5.x86_64.rpm\'\ndef step_init():\n job.next_step([step_test])\n\ndef step_test():\n job.next_step(\'step0\')\n\ndef step0():\n AUTHOR = "Autotest Team"\n NAME = "Sleeptest"\n TIME = "SHORT"\n TEST_CATEGORY = "Functional"\n TEST_CLASS = "General"\n TEST_TYPE = "client"\n \n DOC = """\n This test simply sleeps for 1 second by default. It\'s a good way to test\n profilers and double check that autotest is working.\n The seconds argument can also be modified to make the machine sleep for as\n long as needed.\n """\n \n job.run_test(\'sleeptest\', seconds = 1)',
166 u'control_file': u'kernel = \'8210088647656509311.kernel-smp-2.6.18-220.5.x86_64.rpm\'\ndef step_init():\n job.next_step([step_test])\n\ndef step_test():\n job.next_step(\'step0\')\n\ndef step0():\n AUTHOR = "Autotest Team"\n NAME = "Sleeptest"\n TIME = "SHORT"\n TEST_CATEGORY = "Functional"\n TEST_CLASS = "General"\n TEST_TYPE = "client"\n \n DOC = """\n This test simply sleeps for 1 second by default. It\'s a good way to test\n profilers and double check that autotest is working.\n The seconds argument can also be modified to make the machine sleep for as\n long as needed.\n """\n \n job.run_test(\'sleeptest\', seconds = 1)',
187 u'control_file': u'kernel = \'8210088647656509311.kernel-smp-2.6.18-220.5.x86_64.rpm\'\ndef step_init():\n job.next_step([step_test])\n\ndef step_test():\n job.next_step(\'step0\')\n\ndef step0():\n AUTHOR = "Autotest Team"\n NAME = "Sleeptest"\n TIME = "SHORT"\n TEST_CATEGORY = "Functional"\n TEST_CLASS = "General"\n TEST_TYPE = "client"\n \n DOC = """\n This test simply sleeps for 1 second by default. It\'s a good way to test\n profilers and double check that autotest is working.\n The seconds argument can also be modified to make the machine sleep for as\n long as needed.\n """\n \n job.run_test(\'sleeptest\', seconds = 1)',
    [all...]
  /external/autotest/server/hosts/
remote.py 218 self.job.profilers.handle_reboot(self)
  /external/autotest/frontend/client/src/autotest/afe/create/
CreateJobViewPresenter.java 299 JSONArray tests = staticData.getData("profilers").isArray();
364 JSONArray profilers = new JSONArray(); local
366 profilers.set(profilers.size(), new JSONString(profiler.getText()));
368 params.put("profilers", profilers);
    [all...]

Completed in 334 milliseconds