Searched refs:OdrCompilationLog (Results 1 – 4 of 4) sorted by relevance
103 TEST(OdrCompilationLog, ShouldAttemptCompile) { in TEST() argument104 OdrCompilationLog ocl(/*compilation_log_path=*/nullptr); in TEST()118 TEST(OdrCompilationLog, BackOffNoHistory) { in TEST() argument122 OdrCompilationLog ocl(/*compilation_log_path=*/nullptr); in TEST()171 TEST(OdrCompilationLog, BackOffHappyHistory) { in TEST() argument175 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 …]
83 OdrCompilationLog::OdrCompilationLog(const char* compilation_log_path) in OdrCompilationLog() function in art::odrefresh::OdrCompilationLog92 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()
51 class OdrCompilationLog {64 explicit OdrCompilationLog(const char* compilation_log_path = kCompilationLogFile);65 ~OdrCompilationLog();
49 using ::art::odrefresh::OdrCompilationLog;305 OdrCompilationLog compilation_log; in main()