/external/chromium_org/tools/perf/metrics/ |
media.py | 7 from metrics import Metric 12 class MediaMetric(Metric): 58 def AddOneResult(metric, unit): 61 if m.startswith(metric): 62 special_label = m[len(metric):] 63 trace_name = '%s.%s%s' % (metric, trace, special_label)
|
memory.py | 8 from metrics import Metric 33 class MemoryMetric(Metric): 62 """Start the per-page preparation for this metric. 90 # Optional argument trace_name is not in base class Metric. 132 metric_trace_name: Trace to identify the metric results per test page. 136 metric = 'resident_set_size' 138 metric = 'working_set' 177 AddResult('WorkingSetSize', 'vm_%s_%s_size' % (metric, chart_trace_name)) 183 AddResult('WorkingSetSizePeak', '%s_peak_size' % metric)
|
network_unittest.py | 157 metric = network.NetworkMetric() 158 metric._events = events 159 metric.compute_data_saving = True 161 self.assertTrue(len(events), len(list(metric.IterResponses(None)))) 163 metric.AddResults(None, results)
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
powermetrics_power_monitor.py | 110 def DataWithMetricKeyPath(metric, powermetrics_output): 111 """Retrieve the sample from powermetrics' output for a given metric. 114 metric: The RunningAverage object we want to collect a new sample for. 118 The sample corresponding to |metric|'s keypath.""" 121 for k in metric.src_path: 200 def StoreMetricAverage(metric, sample_durations, out): 201 """Calculate average value of samples in a metric and store in output 202 path as specified by metric. 205 metric: A RunningAverage object containing samples to average. 209 metric.out_path [all...] |
/external/lldb/examples/summaries/cocoa/ |
metrics.py | 51 string = string + "metric " + str(key) + ": " + str(value) + "\n" 60 string = string + "metric " + str(key) + " was hit " + str(value.count) + " times\n" 70 def metric_hit(self,metric,trigger): 71 self.metrics[metric].update(trigger) 87 def metric_success(self,metric): 89 metric_count = self[metric].count
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/ |
perftest.py | 52 def __init__(self, metric, unit=None, iterations=None): 53 # FIXME: Fix runner.js to report correct metric names 55 self._unit = unit or self.metric_to_unit(metric) 56 self._metric = self.time_unit_to_metric(self._unit) if metric == 'Time' else metric 78 def metric_to_unit(metric): 79 assert metric in ('Time', 'Malloc', 'JSHeap') 80 return 'ms' if metric == 'Time' else 'bytes' 131 metric = self._metrics[metric_name] 132 results[metric.name()] = metric.grouped_iteration_values( [all...] |
/external/chromium_org/chrome/browser/performance_monitor/ |
database.cc | 214 const Metric& metric) { 216 if (!metric.IsValid()) { 217 DLOG(ERROR) << "Metric to be added is invalid. Type: " << metric.type 218 << ", Time: " << metric.time.ToInternalValue() 219 << ", Value: " << metric.value << ". Ignoring."; 225 key_builder_->CreateRecentKey(metric.time, metric.type, activity); 227 key_builder_->CreateMetricKey(metric.time, metric.type, activity) [all...] |
database.h | 19 #include "chrome/browser/performance_monitor/metric.h" 74 // Stores the most recent metric statistics to go into the database. There is 75 // only ever one entry per (metric, activity) pair. |recent_map_| keeps an 77 // metric and activity to the key used in the recent db. |recent_map_| allows us 80 // within a timerange. Without it, all the metric databases would need to be 81 // searched to see if that metric is active. 82 // Key: Time - Metric - Activity 86 // Stores the max metric statistics that have been inserted into the database. 87 // There is only ever one entry per (metric, activity) pair. |max_value_map_| 89 // concatenation of metric and activity to the max metric [all...] |
startup_timer.cc | 24 const Metric& metric) { 25 database->AddMetric(metric); 121 Metric(startup_type_ == STARTUP_NORMAL ? METRIC_STARTUP_TIME 138 Metric(METRIC_SESSION_RESTORE_TIME,
|
/external/chromium_org/chrome/browser/profiles/ |
profile_window.h | 50 ProfileMetrics::ProfileOpen metric); 61 ProfileMetrics::ProfileAdd metric);
|
avatar_menu.h | 99 ProfileMetrics::ProfileOpen metric);
|
profile_window.cc | 212 ProfileMetrics::ProfileOpen metric) { 223 ProfileMetrics::LogProfileSwitchUser(metric); 243 ProfileMetrics::ProfileAdd metric) { 258 ProfileMetrics::LogProfileAddNewUser(metric);
|
/external/chromium_org/components/metrics/chromeos/ |
metric_sample.cc | 191 bool MetricSample::IsEqual(const MetricSample& metric) { 192 return type_ == metric.type_ && name_ == metric.name_ && 193 sample_ == metric.sample_ && min_ == metric.min_ && 194 max_ == metric.max_ && bucket_count_ == metric.bucket_count_;
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
core_options_handler.h | 59 const std::string& metric); 62 void ClearPref(const std::string& pref_name, const std::string& metric); 64 // Records a user metric action for the given value. 66 const std::string& metric); 138 // item 2 - name of the metric identifier (optional). 151 // item 1 - name of the metric identifier (optional). 156 // is an array that contains a single item, the name of the metric identifier.
|
core_options_handler.cc | 286 const std::string& metric) { 315 ProcessUserMetric(value, metric); 319 const std::string& metric) { 323 if (!metric.empty()) 324 content::RecordComputedAction(metric); 328 const std::string& metric) { 329 if (metric.empty()) 332 std::string metric_string = metric; 605 std::string metric; local 606 if (args->GetSize() > 2 && !args->GetString(2, &metric)) 628 std::string metric = base::UTF16ToUTF8(ExtractStringValue(args)); local [all...] |
/external/chromium_org/chrome/browser/android/banners/ |
app_banner_manager.cc | 146 void RecordDismissEvent(JNIEnv* env, jclass clazz, jint metric) { 147 banners::TrackDismissEvent(metric); 150 void RecordInstallEvent(JNIEnv* env, jclass clazz, jint metric) { 151 banners::TrackInstallEvent(metric);
|
/external/chromium_org/ui/gfx/win/ |
dpi.h | 56 // GetSystemMetrics for the given |metric|, then converts the result to DIP. 57 GFX_EXPORT int GetSystemMetricsInDIP(int metric);
|
/external/tcpdump/ |
print-ripng.c | 50 rip6_entry_print(register const struct netinfo6 *ni, int metric) 56 if (metric)
|
/external/chromium_org/third_party/libyuv/util/ |
psnr_main.cc | 36 struct metric { struct 210 metric* cur_distortion_psnr, 211 metric* distorted_frame, bool do_psnr) { 344 metric* const distortion_psnr = new metric[num_rec]; 345 metric* const distortion_ssim = new metric[num_rec]; 347 metric* cur_distortion_psnr = &distortion_psnr[cur_rec]; 402 metric distorted_frame; 403 metric* cur_distortion_psnr = &distortion_psnr[cur_rec] [all...] |
/external/chromium_org/chrome/browser/extensions/api/metrics_private/ |
metrics_private_api.cc | 118 // Get the histogram parameters from the metric type object. 120 params->metric.type); 124 return RecordValue(params->metric.metric_name, histogram_type, 125 params->metric.min, params->metric.max, 126 params->metric.buckets, params->value);
|
/external/chromium_org/chrome/browser/chromeos/net/ |
network_portal_notification_controller.cc | 86 NetworkPortalNotificationController::UserActionMetric metric = 92 metric,
|
/external/libnl/lib/route/ |
route_utils.c | 157 char *rtnl_route_metric2str(int metric, char *buf, size_t size) 159 return __type2str(metric, buf, size, route_metrices,
|
/external/chromium_org/chrome/browser/first_run/ |
first_run.h | 136 // Log a metric for the "FirstRun.SearchEngineBubble" histogram. 137 void LogFirstRunMetric(FirstRunBubbleMetric metric);
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
core_chromeos_options_handler.h | 35 const std::string& metric) OVERRIDE;
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
rtcp_receiver_help.h | 50 void AddVoIPMetric(const RTCPVoIPMetric* metric);
|