// OdrCompilationLogEntry represents the result of a compilation attempt by odrefresh. struct OdrCompilationLogEntry {
int64_t apex_version;
int64_t last_update_millis;
int32_t trigger;
time_t when;
int32_t exit_code;
};
// Read an `OdrCompilationLogEntry` from an input stream.
std::istream& operator>>(std::istream& is, OdrCompilationLogEntry& entry);
// Write an `OdrCompilationLogEntry` to an output stream.
std::ostream& operator<<(std::ostream& os, const OdrCompilationLogEntry& entry);
// Equality test for two `OdrCompilationLogEntry` instances. booloperator==(const OdrCompilationLogEntry& lhs, const OdrCompilationLogEntry& rhs); booloperator!=(const OdrCompilationLogEntry& lhs, const OdrCompilationLogEntry& rhs);
class OdrCompilationLog { public: // The compilation log location is in the same directory as used for the metricss.log. This // directory is only used by odrefresh whereas the ART apexdata directory is also used by odsign // and others which may lead to the deletion (or rollback) of the log file. static constexpr constchar* kCompilationLogFile = "/data/misc/odrefresh/compilation-log.txt";
// Version string that appears on the first line of the compilation log. static constexpr constchar kLogVersion[] = "CompilationLog/1.0";
// Number of log entries in the compilation log. static constexpr const size_t kMaxLoggedEntries = 4;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.