Definition at line 249 of file profiler_test.cc.
◆ AllocationFilter()
dart::AllocationFilter::AllocationFilter |
( |
Dart_Port |
port, |
|
|
intptr_t |
cid, |
|
|
int64_t |
time_origin_micros = -1 , |
|
|
int64_t |
time_extent_micros = -1 |
|
) |
| |
|
inline |
Definition at line 251 of file profiler_test.cc.
257 time_origin_micros,
258 time_extent_micros),
260 enable_vm_ticks_(false) {}
SampleFilter(Dart_Port port, intptr_t thread_task_mask, int64_t time_origin_micros, int64_t time_extent_micros, bool take_samples=false)
◆ FilterSample()
bool dart::AllocationFilter::FilterSample |
( |
Sample * |
sample | ) |
|
|
inlinevirtual |
Reimplemented from dart::SampleFilter.
Definition at line 262 of file profiler_test.cc.
262 {
263 if (!enable_vm_ticks_ && (sample->vm_tag() == VMTag::kVMTagId)) {
264
265 return false;
266 }
267 return sample->is_allocation_sample() && (sample->allocation_cid() == cid_);
268 }
◆ set_enable_vm_ticks()
void dart::AllocationFilter::set_enable_vm_ticks |
( |
bool |
enable | ) |
|
|
inline |
The documentation for this class was generated from the following file: