Home | History | Annotate | Download | only in gn

Lines Matching defs:TraceItem

31   void Add(TraceItem* item) {
37 std::vector<TraceItem*> events() const { return events_; }
42 std::vector<TraceItem*> events_;
57 bool DurationGreater(const TraceItem* a, const TraceItem* b) {
65 void SummarizeParses(std::vector<const TraceItem*>& loads,
78 void SummarizeCoalesced(std::vector<const TraceItem*>& items,
103 void SummarizeFileExecs(std::vector<const TraceItem*>& execs,
109 void SummarizeScriptExecs(std::vector<const TraceItem*>& execs,
117 TraceItem::TraceItem(Type type,
125 TraceItem::~TraceItem() {
128 ScopedTrace::ScopedTrace(TraceItem::Type t, const std::string& name)
132 item_ = new TraceItem(t, name, base::PlatformThread::CurrentId());
137 ScopedTrace::ScopedTrace(TraceItem::Type t, const Label& label)
141 item_ = new TraceItem(t, label.GetUserVisibleName(false),
176 void AddTrace(TraceItem* item) {
184 std::vector<TraceItem*> events = trace_log->events();
187 std::vector<const TraceItem*> parses;
188 std::vector<const TraceItem*> file_execs;
189 std::vector<const TraceItem*> script_execs;
192 case TraceItem::TRACE_FILE_PARSE:
195 case TraceItem::TRACE_FILE_EXECUTE:
198 case TraceItem::TRACE_SCRIPT_EXECUTE:
201 case TraceItem::TRACE_FILE_LOAD:
202 case TraceItem::TRACE_FILE_WRITE:
203 case TraceItem::TRACE_DEFINE_TARGET:
232 std::vector<TraceItem*> events = trace_log->events();
234 const TraceItem& item = *events[i];
249 case TraceItem::TRACE_FILE_LOAD:
252 case TraceItem::TRACE_FILE_PARSE:
255 case TraceItem::TRACE_FILE_EXECUTE:
258 case TraceItem::TRACE_FILE_WRITE:
261 case TraceItem::TRACE_SCRIPT_EXECUTE:
264 case TraceItem::TRACE_DEFINE_TARGET: