#include <profiler_service.h>
Definition at line 451 of file profiler_service.h.
◆ ClearSamples()
void dart::ProfilerService::ClearSamples |
( |
| ) |
|
|
static |
Definition at line 2162 of file profiler_service.cc.
2162 {
2164 if (sample_block_buffer == nullptr) {
2165 return;
2166 }
2167
2169 Isolate* isolate = thread->isolate();
2170
2171
2172 DisableThreadInterruptsScope dtis(thread);
2173
2174 ClearProfileVisitor clear_profile(isolate);
2175 sample_block_buffer->VisitSamples(&clear_profile);
2176}
static SampleBlockBuffer * sample_block_buffer()
static Thread * Current()
◆ PrintAllocationJSON() [1/2]
void dart::ProfilerService::PrintAllocationJSON |
( |
JSONStream * |
stream, |
|
|
const Class & |
cls, |
|
|
int64_t |
time_origin_micros, |
|
|
int64_t |
time_extent_micros |
|
) |
| |
|
static |
Definition at line 2149 of file profiler_service.cc.
2152 {
2154 Isolate* isolate = thread->isolate();
2155 ClassAllocationSampleFilter filter(isolate->main_port(), cls,
2157 time_extent_micros);
2160}
◆ PrintAllocationJSON() [2/2]
void dart::ProfilerService::PrintAllocationJSON |
( |
JSONStream * |
stream, |
|
|
int64_t |
time_origin_micros, |
|
|
int64_t |
time_extent_micros |
|
) |
| |
|
static |
Definition at line 2114 of file profiler_service.cc.
2116 {
2118 Isolate* isolate = thread->isolate();
2120 time_origin_micros, time_extent_micros);
2123}
◆ PrintJSON()
void dart::ProfilerService::PrintJSON |
( |
JSONStream * |
stream, |
|
|
int64_t |
time_origin_micros, |
|
|
int64_t |
time_extent_micros, |
|
|
bool |
include_code_samples |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: