Flutter Engine
The Flutter Engine
|
#include <sampler.h>
Public Member Functions | |
HeapProfileSampler (Thread *thread) | |
void | Initialize () |
void | Cleanup () |
void | ScheduleUpdateThreadEnable () |
bool | ShouldUpdateThreadEnable () |
void | UpdateThreadEnable () |
void | ScheduleSetThreadSamplingInterval () |
bool | ShouldSetThreadSamplingInterval () |
void | SetThreadSamplingInterval () |
void | HandleReleasedTLAB (Thread *thread) |
void | HandleNewTLAB (intptr_t old_tlab_remaining_space, bool is_first_tlab) |
void * | InvokeCallbackForLastSample (intptr_t cid) |
bool | HasOutstandingSample () const |
void | SampleNewSpaceAllocation (intptr_t allocation_size) |
void | SampleOldSpaceAllocation (intptr_t allocation_size) |
Static Public Member Functions | |
static void | Enable (bool enabled) |
static bool | enabled () |
static void | SetSamplingInterval (intptr_t bytes_interval) |
static void | SetSamplingCallback (Dart_HeapSamplingCreateCallback create_callback, Dart_HeapSamplingDeleteCallback delete_callback) |
static Dart_HeapSamplingDeleteCallback | delete_callback () |
|
explicit |
Definition at line 44 of file sampler.cc.
|
inline |
|
inlinestatic |
|
static |
Definition at line 47 of file sampler.cc.
|
inlinestatic |
void dart::HeapProfileSampler::HandleNewTLAB | ( | intptr_t | old_tlab_remaining_space, |
bool | is_first_tlab | ||
) |
Definition at line 162 of file sampler.cc.
void dart::HeapProfileSampler::HandleReleasedTLAB | ( | Thread * | thread | ) |
Definition at line 153 of file sampler.cc.
|
inline |
void dart::HeapProfileSampler::Initialize | ( | ) |
Definition at line 101 of file sampler.cc.
void * dart::HeapProfileSampler::InvokeCallbackForLastSample | ( | intptr_t | cid | ) |
Definition at line 200 of file sampler.cc.
void dart::HeapProfileSampler::SampleNewSpaceAllocation | ( | intptr_t | allocation_size | ) |
Definition at line 213 of file sampler.cc.
void dart::HeapProfileSampler::SampleOldSpaceAllocation | ( | intptr_t | allocation_size | ) |
Definition at line 237 of file sampler.cc.
void dart::HeapProfileSampler::ScheduleSetThreadSamplingInterval | ( | ) |
Definition at line 131 of file sampler.cc.
void dart::HeapProfileSampler::ScheduleUpdateThreadEnable | ( | ) |
Definition at line 109 of file sampler.cc.
|
static |
Definition at line 81 of file sampler.cc.
|
static |
Definition at line 60 of file sampler.cc.
void dart::HeapProfileSampler::SetThreadSamplingInterval | ( | ) |
Definition at line 136 of file sampler.cc.
|
inline |
|
inline |
void dart::HeapProfileSampler::UpdateThreadEnable | ( | ) |
Definition at line 114 of file sampler.cc.