Home
last modified time | relevance | path

Searched refs:metric_suffix (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/test/testsupport/
Dperf_result_reporter.cc88 void PerfResultReporter::RegisterMetric(const std::string& metric_suffix, in RegisterMetric() argument
90 RegisterMetric(metric_suffix, unit, ImproveDirection::kNone); in RegisterMetric()
92 void PerfResultReporter::RegisterMetric(const std::string& metric_suffix, in RegisterMetric() argument
95 CheckForInvalidCharacters(metric_suffix); in RegisterMetric()
96 RTC_CHECK(metric_map_.count(metric_suffix) == 0); in RegisterMetric()
97 metric_map_.insert({metric_suffix, {unit, improve_direction}}); in RegisterMetric()
100 void PerfResultReporter::AddResult(const std::string& metric_suffix, in AddResult() argument
102 auto info = GetMetricInfoOrFail(metric_suffix); in AddResult()
104 PrintResult(metric_basename_, metric_suffix, story_name_, value, in AddResult()
108 void PerfResultReporter::AddResult(const std::string& metric_suffix, in AddResult() argument
[all …]
Dperf_result_reporter.h68 void RegisterMetric(const std::string& metric_suffix, Unit unit);
69 void RegisterMetric(const std::string& metric_suffix,
72 void AddResult(const std::string& metric_suffix, size_t value) const;
73 void AddResult(const std::string& metric_suffix, double value) const;
75 void AddResultList(const std::string& metric_suffix,
82 void AddResultMeanAndError(const std::string& metric_suffix,
88 const std::string& metric_suffix) const;
91 MetricInfo GetMetricInfoOrFail(const std::string& metric_suffix) const;
/external/angle/src/tests/perf_tests/third_party/perf/
Dperf_result_reporter.cc19 void PerfResultReporter::RegisterFyiMetric(const std::string &metric_suffix, in RegisterFyiMetric() argument
22 RegisterMetric(metric_suffix, units, false); in RegisterFyiMetric()
25 void PerfResultReporter::RegisterImportantMetric(const std::string &metric_suffix, in RegisterImportantMetric() argument
28 RegisterMetric(metric_suffix, units, true); in RegisterImportantMetric()
31 void PerfResultReporter::AddResult(const std::string &metric_suffix, size_t value) in AddResult() argument
33 auto iter = metric_map_.find(metric_suffix); in AddResult()
36 PrintResult(metric_basename_, metric_suffix, story_name_, value, iter->second.units, in AddResult()
40 void PerfResultReporter::AddResult(const std::string &metric_suffix, double value) in AddResult() argument
42 auto iter = metric_map_.find(metric_suffix); in AddResult()
45 PrintResult(metric_basename_, metric_suffix, story_name_, value, iter->second.units, in AddResult()
[all …]
Dperf_result_reporter.h43 void RegisterFyiMetric(const std::string &metric_suffix, const std::string &units);
44 void RegisterImportantMetric(const std::string &metric_suffix, const std::string &units);
45 void AddResult(const std::string &metric_suffix, size_t value);
46 void AddResult(const std::string &metric_suffix, double value);
47 void AddResult(const std::string &metric_suffix, const std::string &value);
51 bool GetMetricInfo(const std::string &metric_suffix, MetricInfo *out);
54 void RegisterMetric(const std::string &metric_suffix, const std::string &units, bool important);
Dangle-mods.patch211 -void PerfResultReporter::RegisterFyiMetric(const std::string& metric_suffix,
213 - RegisterMetric(metric_suffix, units, false);
214 +void PerfResultReporter::RegisterFyiMetric(const std::string &metric_suffix,
217 + RegisterMetric(metric_suffix, units, false);
221 - const std::string& metric_suffix,
223 - RegisterMetric(metric_suffix, units, true);
224 +void PerfResultReporter::RegisterImportantMetric(const std::string &metric_suffix,
227 + RegisterMetric(metric_suffix, units, true);
230 -void PerfResultReporter::AddResult(const std::string& metric_suffix,
232 - auto iter = metric_map_.find(metric_suffix);
[all …]