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

Public Member Functions

 AllocationSampleFilter (Dart_Port port, intptr_t thread_task_mask, int64_t time_origin_micros, int64_t time_extent_micros)
 
bool FilterSample (Sample *sample)
 
- 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 2100 of file profiler_service.cc.

Constructor & Destructor Documentation

◆ AllocationSampleFilter()

dart::AllocationSampleFilter::AllocationSampleFilter ( Dart_Port  port,
intptr_t  thread_task_mask,
int64_t  time_origin_micros,
int64_t  time_extent_micros 
)
inline

Definition at line 2102 of file profiler_service.cc.

2107 thread_task_mask,
2108 time_origin_micros,
2109 time_extent_micros) {}
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
Dart_Port port() const
Definition: profiler.h:167

Member Function Documentation

◆ FilterSample()

bool dart::AllocationSampleFilter::FilterSample ( Sample sample)
inlinevirtual

Reimplemented from dart::SampleFilter.

Definition at line 2111 of file profiler_service.cc.

2111{ return sample->is_allocation_sample(); }

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