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

Public Member Functions

 NoAllocationSampleFilter (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 2055 of file profiler_service.cc.

Constructor & Destructor Documentation

◆ NoAllocationSampleFilter()

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

Definition at line 2057 of file profiler_service.cc.

2062 thread_task_mask,
2063 time_origin_micros,
2064 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::NoAllocationSampleFilter::FilterSample ( Sample sample)
inlinevirtual

Reimplemented from dart::SampleFilter.

Definition at line 2066 of file profiler_service.cc.

2066{ return !sample->is_allocation_sample(); }

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