Home
last modified time | relevance | path

Searched refs:category_iids (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dperfetto_proto_classes.py161 self.category_iids = None
166 if self.category_iids is not None:
168 writer(parts.append, self.category_iids)
Dperfetto_trace_writer.py125 packet.track_event.category_iids = [_intern_category(category, packet, tid)]
/external/perfetto/src/trace_processor/importers/proto/
Dtrack_event_parser.cc247 std::vector<uint64_t> category_iids; in ParseTrackEventCategory() local
248 for (auto it = event_.category_iids(); it; ++it) { in ParseTrackEventCategory()
249 category_iids.push_back(*it); in ParseTrackEventCategory()
258 if (PERFETTO_LIKELY(category_iids.size() == 1 && in ParseTrackEventCategory()
262 protos::pbzero::EventCategory>(category_iids[0]); in ParseTrackEventCategory()
269 writer.AppendUnsignedInt(category_iids[0]); in ParseTrackEventCategory()
273 } else if (category_iids.empty() && category_strings.size() == 1) { in ParseTrackEventCategory()
275 } else if (category_iids.size() + category_strings.size() > 1) { in ParseTrackEventCategory()
280 for (uint64_t iid : category_iids) { in ParseTrackEventCategory()
/external/perfetto/src/tracing/
Dtrack_event_state_tracker.cc62 if (auto iid_it = track_event.category_iids()) { in ProcessTracePacket()
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc621 for (const auto& it : track_event.category_iids()) in ReadSlicesFromTrace()
943 EXPECT_EQ(track_event.category_iids().size(), 1u); in TEST_P()
944 EXPECT_GE(track_event.category_iids()[0], 1u); in TEST_P()
945 EXPECT_EQ("test", categories[track_event.category_iids()[0]]); in TEST_P()
951 EXPECT_EQ(track_event.category_iids().size(), 0u); in TEST_P()
/external/perfetto/protos/perfetto/trace/track_event/
Dtrack_event.proto109 repeated uint64 category_iids = 3; field
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto6938 repeated uint64 category_iids = 3; field