Home
last modified time | relevance | path

Searched refs:begin_event (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/trace_processor/
Dexport_json_unittest.cc1245 Json::Value begin_event = result["traceEvents"][0]; in TEST_F() local
1246 EXPECT_EQ(begin_event["ph"].asString(), "b"); in TEST_F()
1247 EXPECT_EQ(begin_event["ts"].asInt64(), kTimestamp / 1000); in TEST_F()
1248 EXPECT_EQ(begin_event["tts"].asInt64(), kThreadTimestamp / 1000); in TEST_F()
1249 EXPECT_EQ(begin_event["use_async_tts"].asInt(), 1); in TEST_F()
1250 EXPECT_EQ(begin_event["pid"].asInt(), static_cast<int>(kProcessID)); in TEST_F()
1251 EXPECT_EQ(begin_event["id2"]["local"].asString(), "0xeb"); in TEST_F()
1252 EXPECT_EQ(begin_event["cat"].asString(), kCategory); in TEST_F()
1253 EXPECT_EQ(begin_event["name"].asString(), kName); in TEST_F()
1302 Json::Value begin_event = result["traceEvents"][0]; in TEST_F() local
[all …]
/external/libchrome/base/test/
Dtrace_event_analyzer.cc818 TraceEvent& begin_event = *begin_stack[stack_index]; in AssociateEvents() local
821 const TraceEvent* other_backup = begin_event.other_event; in AssociateEvents()
822 begin_event.other_event = &this_event; in AssociateEvents()
823 if (match.Evaluate(begin_event)) { in AssociateEvents()
826 this_event.prev_event = &begin_event; in AssociateEvents()
833 begin_event.other_event = other_backup; in AssociateEvents()