Home | History | Annotate | Download | only in utils

Lines Matching refs:profilers

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.
172 Only adds profilers to the database - does not delete any.
173 Profilers are formatted slightly differently than tests.
175 @param profilers: list of profilers found in the file system.
179 for profiler in profilers:
183 if not profilers[profiler]:
190 doc = profilers[profiler]
361 profilers = False
362 if 'client/profilers' in parent_dir:
363 profilers = True
369 if not profilers:
459 profilers = {}
461 if file_path.find('client/profilers') == -1:
469 profilers[file_path] = compiler.parseFile(file_path).doc
475 if len(profilers) > 0:
476 update_profilers_in_db(profilers, add_noncompliant=add_noncompliant,
606 profilers = get_tests_from_fs(options.profile_dir, '.*py$')
607 update_profilers_in_db(profilers,