Flutter Engine
The Flutter Engine
|
#include <profiler_service.h>
Public Types | |
enum | Kind { kDartFunction , kNativeFunction , kTagFunction , kStubFunction , kUnknownFunction } |
Public Member Functions | |
ProfileFunction (Kind kind, const char *name, const Function &function, const intptr_t table_index) | |
const char * | name () const |
const char * | Name () const |
const Function * | function () const |
const char * | ResolvedScriptUrl () const |
bool | is_visible () const |
intptr_t | table_index () const |
Kind | kind () const |
intptr_t | exclusive_ticks () const |
intptr_t | inclusive_ticks () const |
void | IncInclusiveTicks () |
void | Tick (bool exclusive, intptr_t inclusive_serial, TokenPosition token_position) |
void | PrintToJSONArray (JSONArray *functions, bool print_only_ids=false) |
bool | GetSinglePosition (ProfileFunctionSourcePosition *pfsp) |
void | TickSourcePosition (TokenPosition token_position, bool exclusive) |
intptr_t | NumSourcePositions () const |
const ProfileFunctionSourcePosition & | GetSourcePosition (intptr_t i) const |
Public Member Functions inherited from dart::ZoneAllocated | |
ZoneAllocated () | |
void * | operator new (size_t size) |
void * | operator new (size_t size, Zone *zone) |
void | operator delete (void *pointer) |
Static Public Member Functions | |
static const char * | KindToCString (Kind kind) |
Friends | |
class | ProfileCode |
class | ProfileBuilder |
Definition at line 136 of file profiler_service.h.
Enumerator | |
---|---|
kDartFunction | |
kNativeFunction | |
kTagFunction | |
kStubFunction | |
kUnknownFunction |
Definition at line 138 of file profiler_service.h.
dart::ProfileFunction::ProfileFunction | ( | Kind | kind, |
const char * | name, | ||
const Function & | function, | ||
const intptr_t | table_index | ||
) |
Definition at line 56 of file profiler_service.cc.
|
inline |
Definition at line 169 of file profiler_service.h.
|
inline |
Definition at line 158 of file profiler_service.h.
bool dart::ProfileFunction::GetSinglePosition | ( | ProfileFunctionSourcePosition * | pfsp | ) |
Definition at line 230 of file profiler_service.cc.
|
inline |
Definition at line 191 of file profiler_service.h.
|
inline |
Definition at line 172 of file profiler_service.h.
|
inline |
Definition at line 170 of file profiler_service.h.
bool dart::ProfileFunction::is_visible | ( | ) | const |
Definition at line 99 of file profiler_service.cc.
|
inline |
Definition at line 167 of file profiler_service.h.
|
static |
Definition at line 162 of file profiler_service.cc.
|
inline |
Definition at line 151 of file profiler_service.h.
const char * dart::ProfileFunction::Name | ( | ) | const |
Definition at line 74 of file profiler_service.cc.
|
inline |
Definition at line 187 of file profiler_service.h.
Definition at line 186 of file profiler_service.cc.
const char * dart::ProfileFunction::ResolvedScriptUrl | ( | ) | const |
Definition at line 84 of file profiler_service.cc.
|
inline |
Definition at line 165 of file profiler_service.h.
void dart::ProfileFunction::Tick | ( | bool | exclusive, |
intptr_t | inclusive_serial, | ||
TokenPosition | token_position | ||
) |
Definition at line 107 of file profiler_service.cc.
void dart::ProfileFunction::TickSourcePosition | ( | TokenPosition | token_position, |
bool | exclusive | ||
) |
Definition at line 124 of file profiler_service.cc.
|
friend |
Definition at line 212 of file profiler_service.h.
|
friend |
Definition at line 211 of file profiler_service.h.