Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::ClassAllocationSampleFilter Class Reference
Inheritance diagram for dart::ClassAllocationSampleFilter:
dart::SampleFilter dart::ValueObject

Public Member Functions

 ClassAllocationSampleFilter (Dart_Port port, const Class &cls, 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 ()
 
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 2125 of file profiler_service.cc.

Constructor & Destructor Documentation

◆ ClassAllocationSampleFilter()

dart::ClassAllocationSampleFilter::ClassAllocationSampleFilter ( Dart_Port  port,
const Class cls,
intptr_t  thread_task_mask,
int64_t  time_origin_micros,
int64_t  time_extent_micros 
)
inline

Definition at line 2127 of file profiler_service.cc.

2133 thread_task_mask,
2134 time_origin_micros,
2135 time_extent_micros),
2136 cls_(Class::Handle(cls.ptr())) {
2137 ASSERT(!cls_.IsNull());
2138 }
bool IsNull() const
Definition object.h:363
static Object & Handle()
Definition object.h:407
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
#define ASSERT(E)

Member Function Documentation

◆ FilterSample()

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

Reimplemented from dart::SampleFilter.

Definition at line 2140 of file profiler_service.cc.

2140 {
2141 return sample->is_allocation_sample() &&
2142 (sample->allocation_cid() == cls_.id());
2143 }
intptr_t id() const
Definition object.h:1235

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