Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::StreamableSampleFilter Class Reference
Inheritance diagram for dart::StreamableSampleFilter:
dart::SampleFilter dart::ValueObject

Public Member Functions

 StreamableSampleFilter (Dart_Port port, const Isolate *isolate)
 
bool FilterSample (Sample *sample) override
 
- Public Member Functions inherited from dart::SampleFilter
 SampleFilter (Dart_Port port, intptr_t thread_task_mask, int64_t time_origin_micros, int64_t time_extent_micros, bool take_samples=false)
 
virtual ~SampleFilter ()
 
virtual bool FilterSample (Sample *sample)
 
Dart_Port port () const
 
bool TimeFilterSample (Sample *sample)
 
bool TaskFilterSample (Sample *sample)
 
bool take_samples () const
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Additional Inherited Members

- Static Public Attributes inherited from dart::SampleFilter
static constexpr intptr_t kNoTaskFilter = -1
 

Detailed Description

Definition at line 1822 of file profiler.cc.

Constructor & Destructor Documentation

◆ StreamableSampleFilter()

dart::StreamableSampleFilter::StreamableSampleFilter ( Dart_Port  port,
const Isolate isolate 
)
inline

Definition at line 1824 of file profiler.cc.

1825 : SampleFilter(port, kNoTaskFilter, -1, -1, true), isolate_(isolate) {}
SampleFilter(Dart_Port port, intptr_t thread_task_mask, int64_t time_origin_micros, int64_t time_extent_micros, bool take_samples=false)
Definition: profiler.h:147
static constexpr intptr_t kNoTaskFilter
Definition: profiler.h:177
Dart_Port port() const
Definition: profiler.h:167

Member Function Documentation

◆ FilterSample()

bool dart::StreamableSampleFilter::FilterSample ( Sample sample)
inlineoverridevirtual

Reimplemented from dart::SampleFilter.

Definition at line 1827 of file profiler.cc.

1827 {
1828 const UserTag& tag =
1829 UserTag::Handle(UserTag::FindTagById(isolate_, sample->user_tag()));
1830 return tag.streamable();
1831 }
static Object & Handle()
Definition: object.h:407
static UserTagPtr FindTagById(const Isolate *isolate, uword tag_id)
Definition: object.cc:27053

The documentation for this class was generated from the following file: