HomeSort by relevance Sort by last modified time
    Searched refs:Metric (Results 1 - 25 of 32) sorted by null

1 2

  /external/lldb/tools/lldb-perf/lib/
Metric.cpp 1 //===-- Metric.cpp ----------------------------------------------*- C++ -*-===//
10 #include "Metric.h"
17 Metric<T>::Metric () : Metric ("")
22 Metric<T>::Metric (const char* n, const char* d) :
31 Metric<T>::Append (T v)
38 Metric<T>::GetCount () const
45 Metric<T>::GetSum () cons
    [all...]
Metric.h 1 //===-- Metric.h ------------------------------------------------*- C++ -*-===//
22 class Metric
31 Metric ();
32 Metric (const char*, const char* = NULL);
Measurement.h 15 #include "Metric.h"
34 m_metric (Metric<typename GaugeType::ValueType>(name, desc))
41 m_metric (Metric<typename GaugeType::ValueType>(name, desc))
74 virtual const Metric<typename GaugeType::ValueType>&
97 auto metric = GetMetric (); local
98 results.GetDictionary().Add(metric.GetName(), metric.GetDescription(), lldb_perf::GetResult<typename GaugeType::ValueType> (NULL, metric.GetStartValue()));
104 auto metric = GetMetric (); local
105 results.GetDictionary().Add(metric.GetName(), metric.GetDescription(), lldb_perf::GetResult<typename GaugeType::ValueType> (NULL, met (…)
111 auto metric = GetMetric (); local
118 auto metric = GetMetric (); local
129 auto metric = GetMetric (); local
    [all...]
  /external/chromium_org/chrome/browser/performance_monitor/
metric.h 14 // - Place the new metric above METRIC_NUMBER_OF_METRICS.
42 struct Metric {
44 Metric();
45 Metric(MetricType metric_type,
48 Metric(MetricType metric_type,
51 ~Metric();
53 // Check the value in the metric to make sure that it is reasonable. Since
54 // some metric-gathering methods will fail and return incorrect values, we
59 // not perform any checking on the validity of the metric, and only makes
60 // sense if the metric IsValid()
    [all...]
metric.cc 5 #include "chrome/browser/performance_monitor/metric.h"
26 // metric is valid if it is greater than or equal to the minimum and less than
29 const double kMaxUndefined = 0.0; // No undefined metric is valid.
69 Metric::Metric() : type(METRIC_UNDEFINED), value(0.0) {
72 Metric::Metric(MetricType metric_type,
78 Metric::Metric(MetricType metric_type,
87 Metric::~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,
performance_monitor.h 37 struct Metric;
143 void AddMetricOnBackgroundThread(const Metric& metric);
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...]
database_unittest.cc 15 #include "chrome/browser/performance_monitor/metric.h"
37 // Override the check for a metric's validity and insert it in the database.
40 bool AddInvalidMetric(std::string activity, Metric metric) {
43 metric.type,
48 metric.ValueAsString());
169 Metric(METRIC_CPU_USAGE, clock_->GetTime(), 50.5));
171 Metric(METRIC_CPU_USAGE, clock_->GetTime(), 13.1));
173 Metric(METRIC_PRIVATE_MEMORY_USAGE,
177 Metric(METRIC_PRIVATE_MEMORY_USAGE
    [all...]
performance_monitor.cc 184 Metric metric; local
186 &metric)) {
187 performance_data_for_io_thread_.network_bytes_read = metric.value;
346 void PerformanceMonitor::AddMetricOnBackgroundThread(const Metric& metric) {
350 database_->AddMetric(metric);
522 database_->AddMetric(Metric(METRIC_CPU_USAGE, time_now, cpu_usage));
523 database_->AddMetric(Metric(METRIC_PRIVATE_MEMORY_USAGE,
526 database_->AddMetric(Metric(METRIC_SHARED_MEMORY_USAGE
    [all...]
  /external/chromium_org/tools/perf/metrics/
__init__.py 5 class Metric(object):
8 The Metric class represents a way of measuring something. Metrics are
10 multiple metrics; each metric should be focussed on collecting data
16 """Add browser options that are required by this metric.
27 """Start collecting data for this metric."""
31 """Stop collecting data for this metric (if applicable)."""
iometric.py 5 from metrics import Metric
9 class IOMetric(Metric):
25 # This metric currently only returns summary results, not per-page results.
loading.py 5 from metrics import Metric
7 class LoadingMetric(Metric):
8 """A metric for page loading time based entirely on window.performance"""
v8_object_stats.py 8 from metrics import Metric
158 class V8ObjectStatsMetric(Metric):
cpu.py 5 from metrics import Metric
9 class CpuMetric(Metric):
29 # Optional argument trace_name is not in base class Metric.
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)
startup_metric.py 9 from metrics import Metric
13 class StartupMetric(Metric):
14 """A metric for browser startup time.
system_memory.py 6 from metrics import Metric
8 class SystemMemoryMetric(Metric):
11 This metric collects system memory stats per test. It reports the difference
22 """Start the per-page preparation for this metric.
37 # |trace_name| and |exclude_metrics| args are not in base class Metric.
78 {'Browser': {metric: value, ...},
79 'Renderer': {metric: value, ...},
80 'Gpu': {metric: value, ...},
115 for metric in end_process_memory:
116 end_value = end_process_memory[metric]
    [all...]
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)
power.py 5 from metrics import Metric
8 class PowerMetric(Metric):
9 """A metric for measuring power usage."""
network.py 12 from metrics import Metric
120 class NetworkMetric(Metric):
121 """A network metric based on timeline events."""
speedindex.py 7 from metrics import Metric
12 class SpeedIndexMetric(Metric):
13 """The speed index metric is one way of measuring page load speed.
20 This speed index metric is based on WebPageTest.org (WPT).
48 # Optional argument chart_name is not in base class Metric.
62 are used in the speed index metric calculation. In general, the recording
67 should be placed in any measurement that uses this metric, e.g.:
  /external/chromium_org/chrome/browser/ui/webui/performance_monitor/
performance_monitor_ui_util_unittest.cc 9 #include "chrome/browser/performance_monitor/metric.h"
28 Database::MetricVector::const_iterator metric = metrics->begin(); local
29 while (metric != metrics->end() && metric->time < start)
30 ++metric;
48 type, &metric, metrics->end(), start, kMaxTime, resolution);
55 metric_vector.push_back(Metric(METRIC_CPU_USAGE, data_time, 1));
81 metric_vector.push_back(Metric(METRIC_CPU_USAGE, data_time, value));
113 metric_vector.push_back(Metric(METRIC_CPU_USAGE,
154 metric_vector.push_back(Metric(METRIC_CPU_USAGE, data_time1, value1))
    [all...]
performance_monitor_ui_util.cc 10 #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;
    [all...]
  /external/ceres-solver/internal/ceres/
autodiff_test.cc 236 struct Metric {
280 TEST(AutoDiff, Metric) {
286 Metric b;
305 ASSERT_TRUE((SymmetricDiff<Metric, double, 2, 4 + 3 + 3>(b, qcX, del,
319 ASSERT_TRUE((AutoDiff<Metric, double, 4, 3, 3>::Differentiate(

Completed in 1080 milliseconds

1 2