#include <limits>
#include <optional>
#include <stdint.h>
#include "src/trace_processor/importers/common/flow_tracker.h"
#include "src/trace_processor/importers/common/slice_tracker.h"
#include "src/trace_processor/storage/trace_storage.h"
#include "src/trace_processor/types/trace_processor_context.h"
namespace perfetto {
namespace trace_processor {
FlowTracker::FlowTracker(TraceProcessorContext* context) : … { … }
FlowTracker::~FlowTracker() = default;
void FlowTracker::Begin(TrackId track_id, FlowId flow_id) { … }
void FlowTracker::Begin(SliceId slice_id, FlowId flow_id) { … }
void FlowTracker::Step(TrackId track_id, FlowId flow_id) { … }
void FlowTracker::Step(SliceId slice_id, FlowId flow_id) { … }
void FlowTracker::End(TrackId track_id,
FlowId flow_id,
bool bind_enclosing_slice,
bool close_flow) { … }
void FlowTracker::End(SliceId slice_id, FlowId flow_id, bool close_flow) { … }
bool FlowTracker::IsActive(FlowId flow_id) const { … }
FlowId FlowTracker::GetFlowIdForV1Event(uint64_t source_id,
StringId cat,
StringId name) { … }
void FlowTracker::ClosePendingEventsOnTrack(TrackId track_id,
SliceId slice_id) { … }
void FlowTracker::InsertFlow(FlowId flow_id,
SliceId slice_out_id,
SliceId slice_in_id) { … }
void FlowTracker::InsertFlow(SliceId slice_out_id, SliceId slice_in_id) { … }
}
}