Home
last modified time | relevance | path

Searched refs:label_names (Results 1 – 9 of 9) sorted by relevance

/external/toolchain-utils/crosperf/
Dresults_report.py122 label_names, argument
132 self._label_indices = {name: i for i, name in enumerate(label_names)}
134 for label in label_names:
200 table = TableGenerator(runs, benchmark_results.label_names).GetTable()
211 benchmark_results.label_names,
224 benchmark_results.label_names,
243 benchmark_results.run_keyvals, benchmark_results.label_names,
440 def _GetHTMLCharts(label_names, test_results): argument
445 table = TableGenerator(runs, label_names).GetTable()
465 for label in label_names:
[all …]
Dresults_organizer.py171 label_names = [label.name for label in labels]
172 label_indices = {name: i for i, name in enumerate(label_names)}
Dexperiment_runner.py243 label_names = []
245 label_names.append(label.name)
246 subject = '%s: %s' % (experiment.name, ' vs. '.join(label_names))
Dgenerate_report.py273 label_names=platform_names,
/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollection_registry_test.cc110 ASSERT_EQ(2, ld.label_names.size()); in TEST()
111 EXPECT_EQ("MyLabel0", ld.label_names[0]); in TEST()
112 EXPECT_EQ("MyLabel1", ld.label_names[1]); in TEST()
120 ASSERT_EQ(0, ud.label_names.size()); in TEST()
200 ASSERT_EQ(2, ld.label_names.size()); in TEST()
201 EXPECT_EQ("MyLabel0", ld.label_names[0]); in TEST()
202 EXPECT_EQ("MyLabel1", ld.label_names[1]); in TEST()
210 ASSERT_EQ(0, ud.label_names.size()); in TEST()
306 ASSERT_EQ(2, ld.label_names.size()); in TEST()
307 EXPECT_EQ("MyLabel0", ld.label_names[0]); in TEST()
[all …]
Dcollected_metrics.h68 std::vector<string> label_names; member
Dcollection_registry.cc49 metric_descriptor->label_names.emplace_back(label_name); in CollectMetricDescriptor()
/external/autotest/frontend/tko/
Dmodels.py368 def _get_label_ids_from_names(self, label_names): argument
370 TestLabel.objects.filter(name__in=label_names)
372 if len(label_ids) < len(set(label_names)):
374 ', '.join(label_names))
378 def _include_or_exclude_labels(self, query_set, label_names, exclude=False): argument
379 label_ids = self._get_label_ids_from_names(label_names).itervalues()
415 def _join_test_label_columns(self, query_set, label_names): argument
416 label_id_map = self._get_label_ids_from_names(label_names)
417 for label_name in label_names:
/external/autotest/frontend/afe/
Dmodels.py529 def classify_labels(cls, label_names): argument
537 if not label_names:
540 labels = Label.objects.filter(name__in=label_names)
564 def get_hosts_with_labels(cls, label_names, initial_query): argument
576 if not label_names:
579 static_labels, non_static_labels = cls.classify_labels(label_names)
580 if len(static_labels) + len(non_static_labels) != len(label_names):
603 label_names = [l.name for l in labels]
604 return cls.get_hosts_with_labels(label_names, initial_query)