Searched refs:metric (Results 1 - 25 of 103) sorted by relevance

12345

/external/chromium_org/components/autofill/core/browser/
H A Dautofill_metrics.cc64 // |FieldTypeGroupForMetrics|. Then, interpolates this with the given |metric|,
68 // The interpolation maps the pair (|group|, |metric|) to a single index, so
85 const int metric,
87 DCHECK_LT(metric, num_possible_metrics);
171 // Interpolate the |metric| with the |group|, so that all metrics for a given
173 return (group * num_possible_metrics) + metric;
177 AutofillMetrics::WalletApiCallMetric metric) {
178 switch (metric) {
247 // Logs a type quality metric. The primary histogram name is constructed based
249 // factors in the |field_type|. Logs a sample of |metric|, whic
84 GetFieldTypeGroupMetric(const ServerFieldType field_type, const int metric, const int num_possible_metrics) argument
176 WalletApiMetricToString( AutofillMetrics::WalletApiCallMetric metric) argument
251 LogTypeQualityMetric(const std::string& base_name, const int metric, const int num_possible_metrics, const ServerFieldType field_type, const std::string& experiment_id) argument
277 ServerExperiment metric = UNKNOWN_EXPERIMENT; local
392 LogWalletApiCallDuration( WalletApiCallMetric metric, const base::TimeDelta& duration) const argument
423 LogHeuristicTypePrediction( FieldTypeQualityMetric metric, ServerFieldType field_type, const std::string& experiment_id) const argument
432 LogOverallTypePrediction( FieldTypeQualityMetric metric, ServerFieldType field_type, const std::string& experiment_id) const argument
441 LogServerTypePrediction( FieldTypeQualityMetric metric, ServerFieldType field_type, const std::string& experiment_id) const argument
450 LogQualityMetric(QualityMetric metric, const std::string& experiment_id) const argument
[all...]
H A Dautofill_metrics.h94 // Baseline metric: The dialog was shown.
106 // Baseline metric: The dialog was shown.
177 // A simple successs metric, logged for each field that returns true for
181 // A simple failure metric, logged for each field that returns false for
269 // Baseline metric: Issued a request to the Wallet server.
311 // Baseline metric: Issued a request to the Wallet server.
331 virtual void LogCreditCardInfoBarMetric(InfoBarMetric metric) const;
334 DeveloperEngagementMetric metric) const;
337 FieldTypeQualityMetric metric,
341 FieldTypeQualityMetric metric,
[all...]
/external/chromium_org/chrome_frame/crash_reporting/
H A Dcrash_metrics.cc29 bool CrashMetricsReporter::SetMetric(Metric metric, int value) { argument
30 DCHECK(metric >= NAVIGATION_COUNT && metric <= LAST_METRIC);
36 result = metric_key.WriteValue(g_metric_names[metric], value);
40 DLOG(ERROR) << "Failed to read ChromeFrame metric:"
41 << g_metric_names[metric] << " error: " << result;
50 int CrashMetricsReporter::GetMetric(Metric metric) { argument
51 DCHECK(metric >= NAVIGATION_COUNT && metric <= LAST_METRIC);
57 metric_key.ReadValueDW(g_metric_names[metric],
64 IncrementMetric(Metric metric) argument
[all...]
H A Dcrash_metrics.h35 int GetMetric(Metric metric);
36 bool SetMetric(Metric metric, int value);
37 int IncrementMetric(Metric metric);
/external/android-clat/
H A Dsetroute.h25 int if_route(const char *ifname, int family, const void *destination, int cidr, const void *gateway, int metric, int mtu, int change_type);
/external/chromium/chrome/browser/resources/options/
H A Dpreferences.js24 * @param {string} metric User metrics identifier.
26 Preferences.setBooleanPref = function(name, value, metric) {
28 if (metric != undefined) argumentList.push(metric);
37 * @param {string} metric User metrics identifier.
39 Preferences.setIntegerPref = function(name, value, metric) {
41 if (metric != undefined) argumentList.push(metric);
50 * @param {string} metric User metrics identifier.
52 Preferences.setDoublePref = function(name, value, metric) {
[all...]
H A Dpref_ui.js74 Number(value), self.metric);
78 value, self.metric);
100 * The user metric string.
103 cr.defineProperty(PrefCheckbox, 'metric', cr.PropertyKind.ATTR);
147 self.value == 'true', self.metric);
150 parseInt(self.value, 10), self.metric);
163 * The user metric string.
166 cr.defineProperty(PrefRadio, 'metric', cr.PropertyKind.ATTR);
196 Preferences.setIntegerPref(self.pref, self.value, self.metric);
209 * The user metric strin
[all...]
/external/chromium/chrome/browser/autofill/
H A Dautofill_metrics.cc33 // and then interpolates this with the given |metric|, which should be in the
34 // range [0, |num_possible_metrics|). Returns the interpolated metric.
38 const int metric,
40 DCHECK(metric < num_possible_metrics);
112 // Interpolate the |metric| with the |group|, so that all metrics for a given
121 return (group * num_possible_metrics) + metric;
142 // Logs a type quality metric. The primary histogram name is constructed based
144 // factors in the |field_type|. Logs a sample of |metric|, which should be in
147 const int metric,
151 DCHECK(metric < num_possible_metric
37 GetFieldTypeGroupMetric(const AutofillFieldType field_type, const int metric, const int num_possible_metrics) argument
146 LogTypeQualityMetric(const std::string& base_name, const int metric, const int num_possible_metrics, const AutofillFieldType field_type, const std::string& experiment_id) argument
[all...]
H A Dautofill_metrics.h27 // Metrics measuring how well we predict field types. Exactly one metric from
53 // A simple successs metric, logged for each field that returns true for
57 // A simple failure metric, logged for each field that returns false for
96 virtual void Log(CreditCardInfoBarMetric metric) const;
97 virtual void Log(HeuristicTypeQualityMetric metric,
100 virtual void Log(PredictedTypeQualityMetric metric,
103 virtual void Log(QualityMetric metric,
105 virtual void Log(ServerQueryMetric metric) const;
106 virtual void Log(ServerTypeQualityMetric metric,
/external/chromium_org/chrome/browser/ui/webui/performance_monitor/
H A Dperformance_monitor_ui_util.cc10 #include "chrome/browser/performance_monitor/metric.h"
46 Database::MetricVector::const_iterator metric = metrics->begin(); local
47 while (metric != metrics->end() && metric->time < start)
48 ++metric;
50 // For each interval, advance the metric to the start of the interval, and
51 // append a metric vector for the aggregated data within that interval,
55 while (metric != metrics->end() && metric->time < interval->start)
56 ++metric;
70 AggregateInterval( MetricType metric_type, Database::MetricVector::const_iterator* metric, const Database::MetricVector::const_iterator& metric_end, const base::Time& time_start, const base::Time& time_end, const base::TimeDelta& resolution) argument
86 AggregateInterval( MetricType metric_type, Database::MetricVector::const_iterator* metric, const Database::MetricVector::const_iterator& metric_end, const base::Time& time_start, const base::Time& time_end, const base::TimeDelta& resolution) argument
117 AggregateInterval( MetricType metric_type, Database::MetricVector::const_iterator* metric, const Database::MetricVector::const_iterator& metric_end, const base::Time& time_start, const base::Time& time_end, const base::TimeDelta& resolution) argument
[all...]
/external/chromium_org/chrome/browser/resources/options/
H A Dpreferences.js26 * @param {string} metric User metrics identifier.
28 Preferences.setBooleanPref = function(name, value, commit, metric) {
35 if (metric != undefined) argumentList.push(metric);
44 * @param {string} metric User metrics identifier.
46 Preferences.setIntegerPref = function(name, value, commit, metric) {
53 if (metric != undefined) argumentList.push(metric);
62 * @param {string} metric User metrics identifier.
64 Preferences.setDoublePref = function(name, value, commit, metric) {
[all...]
H A Dconfirm_dialog.js20 * @param {string} metric User metrics identifier.
28 metric, confirmed_pref) {
33 this.metric = metric;
57 Preferences.getInstance().commitPref(this.pref, this.metric);
89 Preferences.getInstance().commitPref(this.pref, this.metric);
H A Dpref_ui.js142 * The user metric string.
145 cr.defineProperty(PrefInputElement, 'metric', cr.PropertyKind.ATTR);
173 !this.dialogPref, this.metric);
218 !this.dialogPref, this.metric);
249 !this.dialogPref, this.metric);
252 !this.dialogPref, this.metric);
302 !this.dialogPref, this.metric);
364 !this.dialogPref, this.metric);
368 !this.dialogPref, this.metric);
372 !this.dialogPref, this.metric);
[all...]
/external/chromium_org/tools/perf/metrics/
H A Dmedia.js32 var metric = this;
35 if (metric.playbackTimer == undefined)
36 metric.playbackTimer = new Timer();
43 metric.onPlaying(e);
46 metric.onEnded(e);
52 metric.onWillPlay(e);
55 metric.onWillSeek(e);
58 metric.onWillLoop(e);
82 var metric = this;
84 metric
[all...]
H A Dmedia.py56 def AddOneResult(metric, unit):
59 if m.startswith(metric):
60 special_label = m[len(metric):]
66 chart_name=metric, data_type='default')
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_metrics.h73 static void LogProfileAddNewUser(ProfileAdd metric);
75 static void LogProfileDeleteUser(ProfileNetUserCounts metric);
76 static void LogProfileOpenMethod(ProfileOpen metric);
77 static void LogProfileSwitchGaia(ProfileGaia metric);
78 static void LogProfileSwitchUser(ProfileOpen metric);
79 static void LogProfileSyncInfo(ProfileSync metric);
H A Dprofile_metrics.cc34 ProfileMetrics::ProfileType metric = ProfileMetrics::SECONDARY; local
42 metric = ProfileMetrics::ORIGINAL;
44 return metric;
138 void ProfileMetrics::LogProfileAddNewUser(ProfileAdd metric) { argument
139 DCHECK(metric < NUM_PROFILE_ADD_METRICS);
140 UMA_HISTOGRAM_ENUMERATION("Profile.AddNewUser", metric,
239 void ProfileMetrics::LogProfileDeleteUser(ProfileNetUserCounts metric) {
240 DCHECK(metric < NUM_PROFILE_NET_METRICS);
241 UMA_HISTOGRAM_ENUMERATION("Profile.NetUserCount", metric,
245 void ProfileMetrics::LogProfileOpenMethod(ProfileOpen metric) {
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/
H A Dperftest_unittest.py67 metric = PerfTestMetric('Time')
69 self.assertFalse(metric.has_values())
72 metric.append_group([1])
73 self.assertTrue(metric.has_values())
75 self.assertEqual(metric.grouped_iteration_values(), [[1]])
76 self.assertEqual(metric.flattened_iteration_values(), [1])
78 metric.append_group([2])
79 self.assertEqual(metric.grouped_iteration_values(), [[1], [2]])
80 self.assertEqual(metric.flattened_iteration_values(), [1, 2])
84 self.assertEqual(metric
[all...]
/external/dhcpcd/
H A Dif-pref.c67 /* Finally, metric */
68 if (si->metric < ti->metric)
70 if (si->metric > ti->metric)
/external/chromium_org/chrome/browser/resources/performance_monitor/
H A Dchart.js136 * Detailed information on a metric in the UI. |metricId| is a unique
137 * identifying number for the metric, provided by the webui, and assumed to
139 * suitable for mouseover on the metric. |category| corresponds to a
140 * category object to which the metric belongs (see |metricCategoryMap_|).
141 * |color| is the color in which the metric is displayed on the graphs.
144 * for the checkbox which toggles the metric's display. |enabled| indicates
145 * whether or not the metric is being actively displayed. |data| is the
146 * collection of data for the metric.
193 * of any metric which should be shown on the chart (whether the metric i
[all...]
/external/tcpdump/
H A Dprint-igrp.c48 u_int metric, mtu; local
62 metric = bandwidth + delay;
63 if (metric > 0xffffff)
64 metric = 0xffffff;
69 igr->igr_rel, igr->igr_ld, metric,
H A Dprint-dvmrp.c173 register int metric, done; local
212 metric = *bp++;
213 done = metric & 0x80;
214 metric &= 0x7f;
215 printf("\n\t %s metric %d", intoa(htonl(origin)),
216 metric);
263 register u_char metric; local
271 metric = *bp++;
279 ipaddr_string(bp), metric, thresh);
294 register u_char metric, thres local
[all...]
/external/chromium/chrome/browser/ui/webui/options/
H A Dcore_options_handler.cc157 const std::string& metric) {
174 ProcessUserMetric(value, metric);
178 const std::string& metric) {
183 if (!metric.empty())
184 UserMetricsRecordAction(UserMetricsAction(metric.c_str()));
188 const std::string& metric) {
189 if (metric.empty())
192 std::string metric_string = metric;
326 std::string metric; local
328 args->GetString(2, &metric);
155 SetPref(const std::string& pref_name, const Value* value, const std::string& metric) argument
177 ClearPref(const std::string& pref_name, const std::string& metric) argument
187 ProcessUserMetric(const Value* value, const std::string& metric) argument
348 std::string metric = UTF16ToUTF8(ExtractStringValue(args)); local
[all...]
H A Dcore_options_handler.h53 const std::string& metric);
56 void ClearPref(const std::string& pref_name, const std::string& metric);
61 // Records a user metric action for the given value.
63 const std::string& metric);
87 // item 2 - name of the metric identifier (optional).
99 // item 1 - name of the metric identifier (optional).
104 // is an array that contains a single item, the name of the metric identifier.
/external/chromium_org/tools/perf/measurements/
H A Dsmoothness.py23 parser.add_option('--metric', dest='metric', type='choice',
36 if self.options.metric == 'smoothness':
38 elif self.options.metric == 'timeline':
48 if self.options.metric == 'smoothness' and timeline_marker_name:

Completed in 666 milliseconds

12345