Home | History | Annotate | Download | only in base

Lines Matching refs:LoadLog

16   std::string ToString(const LoadLog* log) {
74 explicit Entry(const LoadLog::Entry* log_entry)
78 return log_entry->type == LoadLog::Entry::TYPE_EVENT &&
79 log_entry->event.phase == LoadLog::PHASE_BEGIN;
83 return log_entry->type == LoadLog::Entry::TYPE_EVENT &&
84 log_entry->event.phase == LoadLog::PHASE_END;
87 const LoadLog::Entry* log_entry;
92 void PopulateEntries(const LoadLog* log) {
143 if (entries_[i].log_entry->type == LoadLog::Entry::TYPE_EVENT)
171 const LoadLog::Entry* entry = entries_[index].log_entry;
174 LoadLog::EventPhase phase = LoadLog::PHASE_NONE;
176 case LoadLog::Entry::TYPE_EVENT:
177 entry_str = LoadLog::EventTypeToString(entry->event.type);
180 if (phase == LoadLog::PHASE_BEGIN &&
185 phase = LoadLog::PHASE_NONE;
188 case LoadLog::Entry::TYPE_ERROR_CODE:
193 case LoadLog::Entry::TYPE_STRING:
196 case LoadLog::Entry::TYPE_STRING_LITERAL:
204 case LoadLog::PHASE_BEGIN:
206 case LoadLog::PHASE_END:
208 case LoadLog::PHASE_NONE:
229 std::string LoadLogUtil::PrettyPrintAsEventTree(const LoadLog* log) {