Home
last modified time | relevance | path

Searched refs:OdrCompilationLog (Results 1 – 4 of 4) sorted by relevance

/art/odrefresh/
Dodr_compilation_log_test.cc103 TEST(OdrCompilationLog, ShouldAttemptCompile) { in TEST() argument
104 OdrCompilationLog ocl(/*compilation_log_path=*/nullptr); in TEST()
118 TEST(OdrCompilationLog, BackOffNoHistory) { in TEST() argument
122 OdrCompilationLog ocl(/*compilation_log_path=*/nullptr); in TEST()
171 TEST(OdrCompilationLog, BackOffHappyHistory) { in TEST() argument
175 OdrCompilationLog ocl(/*compilation_log_path=*/nullptr); in TEST()
201 OdrCompilationLog ocl(/*compilation_log_path=*/nullptr); in TEST_F()
220 if (i < OdrCompilationLog::kMaxLoggedEntries) { in TEST_F()
223 ASSERT_EQ(OdrCompilationLog::kMaxLoggedEntries, ocl.NumberOfEntries()); in TEST_F()
251 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F()
[all …]
Dodr_compilation_log.cc83 OdrCompilationLog::OdrCompilationLog(const char* compilation_log_path) in OdrCompilationLog() function in art::odrefresh::OdrCompilationLog
92 OdrCompilationLog::~OdrCompilationLog() { in ~OdrCompilationLog()
98 bool OdrCompilationLog::Read() { in Read()
123 bool OdrCompilationLog::Write() const { in Write()
140 void OdrCompilationLog::Truncate() { in Truncate()
149 size_t OdrCompilationLog::NumberOfEntries() const { in NumberOfEntries()
153 const OdrCompilationLogEntry* OdrCompilationLog::Peek(size_t index) const { in Peek()
160 void OdrCompilationLog::Log(int64_t apex_version, in Log()
169 void OdrCompilationLog::Log(int64_t apex_version, in Log()
182 bool OdrCompilationLog::ShouldAttemptCompile(OdrMetrics::Trigger trigger, time_t now) const { in ShouldAttemptCompile()
Dodr_compilation_log.h51 class OdrCompilationLog {
64 explicit OdrCompilationLog(const char* compilation_log_path = kCompilationLogFile);
65 ~OdrCompilationLog();
Dodrefresh_main.cc49 using ::art::odrefresh::OdrCompilationLog;
305 OdrCompilationLog compilation_log; in main()