Home
last modified time | relevance | path

Searched refs:SendSample (Results 1 – 3 of 3) sorted by relevance

/system/core/metricsd/
Dmetrics_collector.cc440 SendSample("Platform.ZramCompressedSize", compr_data_size_mb, 100, 4000, 50); in ReportZram()
441 SendSample("Platform.ZramSavings", savings_mb, 100, 4000, 50); in ReportZram()
446 SendSample("Platform.ZramCompressionRatioPercent", in ReportZram()
451 SendSample("Platform.ZramZeroPages", zero_pages, 256, 256 * 1024, 50); in ReportZram()
452 SendSample("Platform.ZramZeroRatioPercent", zero_ratio_percent, 1, 50, 50); in ReportZram()
509 SendSample(metrics_name, fields[i].value, 1, 4 * 1000 * 1000, 100); in ProcessMeminfo()
521 SendSample("Platform.MeminfoSwapUsed", swap_used, 1, 8 * 1000 * 1000, 100); in ProcessMeminfo()
629 void MetricsCollector::SendSample(const string& name, int sample, in SendSample() function in MetricsCollector
638 SendSample(kernel_crashes_version_count_->Name(), in SendKernelCrashesCumulativeCountStats()
646 SendSample(version_cumulative_cpu_use_->Name(), in SendKernelCrashesCumulativeCountStats()
[all …]
Dmetrics_collector_test.cc87 TEST_F(MetricsCollectorTest, SendSample) { in TEST_F() argument
89 daemon_.SendSample("Dummy.Metric", /* sample */ 3, in TEST_F()
Dmetrics_collector.h93 FRIEND_TEST(MetricsCollectorTest, SendSample);
139 void SendSample(const std::string& name, int sample,