Home
last modified time | relevance | path

Searched refs:slice_tracker (Results 1 – 23 of 23) sorted by relevance

/external/perfetto/src/trace_processor/importers/common/
Dflow_tracker_unittest.cc34 context.slice_tracker.reset(new SliceTracker(&context)); in TEST()
35 auto& slice_tracker = context.slice_tracker; in TEST() local
37 slice_tracker->SetOnSliceBeginCallback( in TEST()
46 slice_tracker->Begin(100, track_1, StringId::Raw(1), StringId::Raw(1)); in TEST()
47 SliceId out_slice_id = slice_tracker->GetTopmostSliceOnTrack(track_1).value(); in TEST()
49 slice_tracker->End(120, track_1, StringId::Raw(1), StringId::Raw(1)); in TEST()
51 slice_tracker->Begin(140, track_2, StringId::Raw(2), StringId::Raw(2)); in TEST()
52 SliceId in_slice_id = slice_tracker->GetTopmostSliceOnTrack(track_2).value(); in TEST()
55 slice_tracker->End(160, track_2, StringId::Raw(2), StringId::Raw(2)); in TEST()
66 context.slice_tracker.reset(new SliceTracker(&context)); in TEST()
[all …]
Dflow_tracker.cc44 context_->slice_tracker->GetTopmostSliceOnTrack(track_id); in Begin()
58 context_->slice_tracker->GetTopmostSliceOnTrack(track_id); in Step()
81 context_->slice_tracker->GetTopmostSliceOnTrack(track_id); in End()
DBUILD.gn32 "slice_tracker.cc",
33 "slice_tracker.h",
/external/perfetto/src/trace_processor/importers/syscalls/
Dsyscall_tracker_unittest.cc56 slice_tracker = new MockSliceTracker(&context); in SyscallTrackerTest()
57 context.slice_tracker.reset(slice_tracker); in SyscallTrackerTest()
62 MockSliceTracker* slice_tracker; member in perfetto::trace_processor::__anon0f638e470111::SyscallTrackerTest
70 EXPECT_CALL(*slice_tracker, Begin(100, track, kNullStringId, _, _)) in TEST_F()
72 EXPECT_CALL(*slice_tracker, End(110, track, kNullStringId, _, _)) in TEST_F()
85 EXPECT_CALL(*slice_tracker, Begin(_, _, _, _, _)).Times(0); in TEST_F()
86 EXPECT_CALL(*slice_tracker, End(_, _, _, _, _)).Times(0); in TEST_F()
96 EXPECT_CALL(*slice_tracker, Begin(100, track, kNullStringId, _, _)) in TEST_F()
98 EXPECT_CALL(*slice_tracker, End(110, track, kNullStringId, _, _)) in TEST_F()
113 EXPECT_CALL(*slice_tracker, Begin(100, track, kNullStringId, _, _)) in TEST_F()
[all …]
Dsyscall_tracker.h62 context_->slice_tracker->Begin(ts, track_id, kNullStringId /* cat */, in Enter()
71 context_->slice_tracker->End(ts, track_id, kNullStringId /* cat */, name); in Exit()
/external/perfetto/src/trace_processor/importers/ftrace/
Dbinder_tracker.cc126 context_->slice_tracker->AddArgs(track_id, binder_category_id_, reply_id_, in Transaction()
128 context_->slice_tracker->End(ts, track_id, kNullStringId, kNullStringId, in Transaction()
137 context_->slice_tracker->Begin(ts, track_id, binder_category_id_, in Transaction()
141 context_->slice_tracker->Scoped(ts, track_id, binder_category_id_, in Transaction()
155 context_->slice_tracker->End(ts, track_id); in TransactionReceived()
162 auto reply_slice_id = context_->slice_tracker->Begin( in TransactionReceived()
174 auto transaction_slice_id = context_->slice_tracker->AddArgs( in TransactionReceived()
185 context_->slice_tracker->AddArgs(track_id, binder_category_id_, reply_id_, in TransactionReceived()
193 context_->slice_tracker->Scoped(ts, track_id, binder_category_id_, in TransactionReceived()
205 context_->slice_tracker->Begin(ts, track_id, binder_category_id_, in Lock()
[all …]
Dftrace_parser.cc935 context_->slice_tracker->Begin( in ParseIonStat()
941 context_->slice_tracker->End(timestamp, end_id); in ParseIonStat()
971 context_->slice_tracker->Begin( in ParseDmaHeapStat()
977 context_->slice_tracker->End(timestamp, end_id); in ParseDmaHeapStat()
1243 context_->slice_tracker->Begin(timestamp, track_id, kNullStringId, name_id); in ParseScmCallStart()
1252 context_->slice_tracker->End(timestamp, track_id); in ParseScmCallEnd()
1280 context_->slice_tracker->Begin(timestamp, track, workqueue_id_, name_id); in ParseWorkqueueExecuteStart()
1290 context_->slice_tracker->End(timestamp, track, workqueue_id_); in ParseWorkqueueExecuteEnd()
1306 context_->slice_tracker->Begin(timestamp, track, irq_id_, slice_name_id); in ParseIrqHandlerEntry()
1325 context_->slice_tracker->End(timestamp, track, irq_id_, {}, args_inserter); in ParseIrqHandlerExit()
[all …]
/external/perfetto/src/trace_processor/importers/json/
Djson_trace_parser.cc90 SliceTracker* slice_tracker = context_->slice_tracker.get(); in ParseTracePacket() local
131 slice_tracker->Begin(timestamp, track_id, cat_id, name_id, args_inserter); in ParseTracePacket()
137 slice_tracker->End(timestamp, track_id, cat_id, name_id, args_inserter); in ParseTracePacket()
146 slice_tracker->Scoped(timestamp, track_id, cat_id, name_id, in ParseTracePacket()
/external/perfetto/src/trace_processor/
Dtrace_processor_storage_impl.cc52 context_.slice_tracker.reset(new SliceTracker(&context_)); in TraceProcessorStorageImpl()
75 context_.slice_tracker->SetOnSliceBeginCallback( in TraceProcessorStorageImpl()
110 context_.slice_tracker->FlushPendingSlices(); in NotifyEndOfFile()
/external/perfetto/src/trace_processor/importers/proto/
Dgraphics_frame_event_parser.cc158 context_->slice_tracker->ScopedTyped(graphics_frame_slice_table, row); in CreateBufferEvent()
180 const auto opt_slice_id = context_->slice_tracker->End(timestamp, track_id); in InvalidatePhaseEvent()
272 context_->slice_tracker->End(timestamp, dequeue_time->second); in CreatePhaseEvent()
314 context_->slice_tracker->End(timestamp, queue_time->second); in CreatePhaseEvent()
346 context_->slice_tracker->End(timestamp, latch_time->second); in CreatePhaseEvent()
351 context_->slice_tracker->End(timestamp, display_time->second); in CreatePhaseEvent()
390 context_->slice_tracker->BeginTyped( in CreatePhaseEvent()
Dframe_timeline_event_parser.cc222 context_->slice_tracker->BeginTyped( in ParseExpectedDisplayFrameStart()
295 context_->slice_tracker->BeginTyped( in ParseActualDisplayFrameStart()
397 context_->slice_tracker->BeginTyped( in ParseExpectedSurfaceFrameStart()
502 context_->slice_tracker->BeginTyped( in ParseActualSurfaceFrameStart()
544 context_->slice_tracker->End(timestamp, track_id); in ParseFrameEnd()
Dtrack_event_parser.cc639 auto opt_slice_id = context_->slice_tracker->BeginTyped( in ParseThreadBeginEvent()
656 auto opt_slice_id = context_->slice_tracker->End( in ParseThreadEndEvent()
699 auto opt_slice_id = context_->slice_tracker->ScopedTyped( in ParseThreadCompleteEvent()
831 opt_slice_id = context_->slice_tracker->ScopedTyped( in ParseThreadInstantEvent()
834 opt_slice_id = context_->slice_tracker->Scoped( in ParseThreadInstantEvent()
858 auto opt_slice_id = context_->slice_tracker->Begin( in ParseAsyncBeginEvent()
883 auto opt_slice_id = context_->slice_tracker->End( in ParseAsyncEndEvent()
904 context_->slice_tracker->Scoped( in ParseAsyncStepEvent()
925 auto opt_slice_id = context_->slice_tracker->Scoped( in ParseAsyncInstantEvent()
Dmetadata_module.cc159 context_->slice_tracker->Scoped( in ParseTrigger()
Dgpu_event_parser.cc483 context_->slice_tracker->ScopedTyped( in ParseGpuRenderStageEvent()
700 context_->slice_tracker->ScopedTyped( in ParseGpuLog()
736 context_->slice_tracker->ScopedTyped( in ParseVulkanApiEvent()
Dproto_trace_parser.cc607 context_->slice_tracker->Scoped(ts, track_id, cat_id, name_id, in ParseMetatraceEvent()
Dproto_trace_parser_unittest.cc250 context_.slice_tracker.reset(slice_); in ProtoTraceParserTest()
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_parser.cc140 context_->slice_tracker->Begin(ts, track_id, kNullStringId /* cat */, in ParseSystracePoint()
160 context_->slice_tracker->End(ts, track_id); in ParseSystracePoint()
194 context_->slice_tracker->BeginLegacyUnnestable( in ParseSystracePoint()
201 context_->slice_tracker->End(ts, track_id); in ParseSystracePoint()
Dsystrace_line_parser.cc199 context_->slice_tracker->Begin(line.ts, track, workqueue_name_id_, name_id); in ParseLine()
202 context_->slice_tracker->End(line.ts, track, workqueue_name_id_); in ParseLine()
/external/perfetto/src/trace_processor/types/
Dtrace_processor_context.h74 std::unique_ptr<SliceTracker> slice_tracker; variable
/external/perfetto/src/trace_processor/importers/ninja/
Dninja_log_parser.cc185 ctx_->slice_tracker->Scoped(start_ns, worker->track_id, StringId::Null(), in NotifyEndOfFile()
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_trace_parser.cc85 SliceTracker* slices = context_->slice_tracker.get(); in ParseTracePacket()
/external/perfetto/
DBUILD872 "src/trace_processor/importers/common/slice_tracker.cc",
873 "src/trace_processor/importers/common/slice_tracker.h",
DAndroid.bp7658 "src/trace_processor/importers/common/slice_tracker.cc",