Home
last modified time | relevance | path

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

/art/odrefresh/
Dodr_metrics.cc38 OdrMetrics::OdrMetrics(const std::string& cache_directory, const std::string& metrics_file) in OdrMetrics() argument
39 : cache_directory_(cache_directory), metrics_file_(metrics_file), status_(Status::kOK) { in OdrMetrics()
43 if (OS::FileExists(metrics_file.c_str())) { in OdrMetrics()
44 if (unlink(metrics_file.c_str()) != 0) { in OdrMetrics()
45 PLOG(ERROR) << "Failed to remove metrics file '" << metrics_file << "'"; in OdrMetrics()
Dodr_statslog_android.cc103 bool ReadValues(const char* metrics_file, in ReadValues() argument
106 std::ifstream ifs(metrics_file); in ReadValues()
109 "metrics file '%s' could not be opened: %s", metrics_file, strerror(errno)); in ReadValues()
Dodr_metrics.h74 const std::string& metrics_file = kOdrefreshMetricsFile);