Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/performance_monitor/
Ddatabase_unittest.cc168 db_->AddMetric(kProcessChromeAggregate, in PopulateDB()
170 db_->AddMetric(activity_, in PopulateDB()
172 db_->AddMetric(kProcessChromeAggregate, in PopulateDB()
176 db_->AddMetric(activity_, in PopulateDB()
293 db_->AddMetric(kProcessChromeAggregate, in TEST_F()
298 db_->AddMetric(kProcessChromeAggregate, in TEST_F()
430 db_->AddMetric(activity_, in TEST_F()
463 db_->AddMetric(activity_, in TEST_F()
485 EXPECT_FALSE(db_->AddMetric(invalid_metric)); in TEST_F()
506 db_->AddMetric(kProcessChromeAggregate, in TEST_F()
[all …]
Ddatabase.h156 bool AddMetric(const std::string& activity, const Metric& metric);
158 bool AddMetric(const Metric& metric) { in AddMetric() function
159 return AddMetric(kProcessChromeAggregate, metric); in AddMetric()
Dperformance_monitor.cc350 database_->AddMetric(metric); in AddMetricOnBackgroundThread()
522 database_->AddMetric(Metric(METRIC_CPU_USAGE, time_now, cpu_usage)); in StoreMetricsOnBackgroundThread()
523 database_->AddMetric(Metric(METRIC_PRIVATE_MEMORY_USAGE, in StoreMetricsOnBackgroundThread()
526 database_->AddMetric(Metric(METRIC_SHARED_MEMORY_USAGE, in StoreMetricsOnBackgroundThread()
531 database_->AddMetric( in StoreMetricsOnBackgroundThread()
Dstartup_timer.cc25 database->AddMetric(metric); in AddMetricToDatabaseOnBackgroundThread()
Ddatabase.cc213 bool Database::AddMetric(const std::string& activity, in AddMetric() function in performance_monitor::Database