#include <profiler.h>
Definition at line 195 of file profiler.h.
◆ Sample()
◆ allocation_cid()
intptr_t dart::Sample::allocation_cid |
( |
| ) |
const |
|
inline |
Definition at line 341 of file profiler.h.
341 {
344 }
bool is_allocation_sample() const
intptr_t metadata() const
◆ allocation_identity_hash()
uint32_t dart::Sample::allocation_identity_hash |
( |
| ) |
const |
|
inline |
Definition at line 314 of file profiler.h.
314 {
315 return allocation_identity_hash_;
316 }
◆ At()
uword dart::Sample::At |
( |
intptr_t |
i | ) |
const |
|
inline |
Definition at line 237 of file profiler.h.
237 {
241 }
static constexpr int kPCArraySizeInWords
◆ Clear()
void dart::Sample::Clear |
( |
| ) |
|
|
inline |
Definition at line 212 of file profiler.h.
212 {
213 timestamp_ = 0;
217 stack_buffer_[
i] = 0;
218 }
221 }
224 state_ = 0;
225 next_ = nullptr;
226 allocation_identity_hash_ = 0;
228 }
static const ThreadId kInvalidThreadId
static constexpr int kStackBufferSizeInWords
void set_head_sample(bool head_sample)
◆ continuation_sample()
Sample * dart::Sample::continuation_sample |
( |
| ) |
const |
|
inline |
◆ DumpStackTrace()
void dart::Sample::DumpStackTrace |
( |
| ) |
|
|
inline |
Definition at line 250 of file profiler.h.
250 {
254 const char* native_symbol_name =
256 if (native_symbol_name == nullptr) {
258 } else {
261 }
262 }
263 }
static const char * LookupSymbolName(uword pc, uword *start)
static void FreeSymbolName(const char *name)
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
uword At(intptr_t i) const
◆ exit_frame_sample()
bool dart::Sample::exit_frame_sample |
( |
| ) |
const |
|
inline |
Definition at line 286 of file profiler.h.
static constexpr T decode(S value)
◆ GetPCArray()
uword * dart::Sample::GetPCArray |
( |
| ) |
|
|
inline |
Definition at line 363 of file profiler.h.
363{ return &pc_array_[0]; }
◆ GetStackBuffer()
uword * dart::Sample::GetStackBuffer |
( |
| ) |
|
|
inline |
Definition at line 366 of file profiler.h.
366{ return &stack_buffer_[0]; }
◆ head_sample()
bool dart::Sample::head_sample |
( |
| ) |
const |
|
inline |
◆ ignore_sample()
bool dart::Sample::ignore_sample |
( |
| ) |
const |
|
inline |
◆ Init()
Definition at line 199 of file profiler.h.
199 {
204 next_ = nullptr;
205 }
int64_t timestamp() const
◆ is_allocation_sample()
bool dart::Sample::is_allocation_sample |
( |
| ) |
const |
|
inline |
◆ is_continuation_sample()
bool dart::Sample::is_continuation_sample |
( |
| ) |
const |
|
inline |
◆ leaf_frame_is_dart()
bool dart::Sample::leaf_frame_is_dart |
( |
| ) |
const |
|
inline |
◆ metadata()
intptr_t dart::Sample::metadata |
( |
| ) |
const |
|
inline |
◆ missing_frame_inserted()
bool dart::Sample::missing_frame_inserted |
( |
| ) |
const |
|
inline |
◆ pc()
uword dart::Sample::pc |
( |
| ) |
const |
|
inline |
◆ port()
◆ set_allocation_identity_hash()
void dart::Sample::set_allocation_identity_hash |
( |
uint32_t |
hash | ) |
|
|
inline |
Definition at line 318 of file profiler.h.
318 {
319 allocation_identity_hash_ =
hash;
320 }
static uint32_t hash(const SkShaderBase::GradientInfo &v)
◆ set_exit_frame_sample()
void dart::Sample::set_exit_frame_sample |
( |
bool |
exit_frame_sample | ) |
|
|
inline |
Definition at line 288 of file profiler.h.
288 {
290 }
static constexpr S update(T value, S original)
bool exit_frame_sample() const
◆ set_head_sample()
void dart::Sample::set_head_sample |
( |
bool |
head_sample | ) |
|
|
inline |
◆ set_ignore_sample()
void dart::Sample::set_ignore_sample |
( |
bool |
ignore_sample | ) |
|
|
inline |
Definition at line 282 of file profiler.h.
282 {
284 }
bool ignore_sample() const
◆ set_is_allocation_sample()
void dart::Sample::set_is_allocation_sample |
( |
bool |
allocation_sample | ) |
|
|
inline |
◆ set_leaf_frame_is_dart()
void dart::Sample::set_leaf_frame_is_dart |
( |
bool |
leaf_frame_is_dart | ) |
|
|
inline |
Definition at line 276 of file profiler.h.
276 {
278 }
bool leaf_frame_is_dart() const
◆ set_metadata()
void dart::Sample::set_metadata |
( |
intptr_t |
metadata | ) |
|
|
inline |
◆ set_missing_frame_inserted()
void dart::Sample::set_missing_frame_inserted |
( |
bool |
missing_frame_inserted | ) |
|
|
inline |
Definition at line 296 of file profiler.h.
296 {
298 }
bool missing_frame_inserted() const
◆ set_thread_task()
◆ set_truncated_trace()
void dart::Sample::set_truncated_trace |
( |
bool |
truncated_trace | ) |
|
|
inline |
Definition at line 302 of file profiler.h.
302 {
304 }
bool truncated_trace() const
◆ set_user_tag()
void dart::Sample::set_user_tag |
( |
uword |
tag | ) |
|
|
inline |
◆ set_vm_tag()
void dart::Sample::set_vm_tag |
( |
uword |
tag | ) |
|
|
inline |
Definition at line 266 of file profiler.h.
266 {
268 vm_tag_ = tag;
269 }
◆ SetAllocationCid()
void dart::Sample::SetAllocationCid |
( |
intptr_t |
cid | ) |
|
|
inline |
Definition at line 357 of file profiler.h.
357 {
360 }
void set_is_allocation_sample(bool allocation_sample)
void set_metadata(intptr_t metadata)
◆ SetAt()
void dart::Sample::SetAt |
( |
intptr_t |
i, |
|
|
uword |
pc |
|
) |
| |
|
inline |
◆ SetContinuation()
void dart::Sample::SetContinuation |
( |
Sample * |
next | ) |
|
|
inline |
Definition at line 332 of file profiler.h.
332 {
337 }
static float next(float f)
bool is_continuation_sample() const
◆ thread_task()
◆ tid()
◆ timestamp()
int64_t dart::Sample::timestamp |
( |
| ) |
const |
|
inline |
Definition at line 231 of file profiler.h.
231{ return timestamp_; }
◆ truncated_trace()
bool dart::Sample::truncated_trace |
( |
| ) |
const |
|
inline |
◆ user_tag()
uword dart::Sample::user_tag |
( |
| ) |
const |
|
inline |
◆ vm_tag()
uword dart::Sample::vm_tag |
( |
| ) |
const |
|
inline |
◆ kPCArraySizeInWords
constexpr int dart::Sample::kPCArraySizeInWords = 32 |
|
staticconstexpr |
◆ kStackBufferSizeInWords
constexpr int dart::Sample::kStackBufferSizeInWords = 2 |
|
staticconstexpr |
The documentation for this class was generated from the following file: