Flutter Engine
The Flutter Engine
|
Classes | |
class | ScopedInstantEnd |
class | TraceFlow |
Typedefs | |
using | TraceArg = const char * |
using | TraceIDArg = int64_t |
typedef void(* | TimelineEventHandler) (const char *, int64_t, int64_t, intptr_t, const int64_t *, Dart_Timeline_Event_Type, intptr_t, const char **, const char **) |
using | TimelineMicrosSource = int64_t(*)() |
Functions | |
void | TraceSetAllowlist (const std::vector< std::string > &allowlist) |
void | TraceSetTimelineEventHandler (TimelineEventHandler handler) |
bool | TraceHasTimelineEventHandler () |
int64_t | TraceGetTimelineMicros () |
void | TraceSetTimelineMicrosSource (TimelineMicrosSource source) |
size_t | TraceNonce () |
void | TraceTimelineEvent (TraceArg category_group, TraceArg name, int64_t timestamp_micros, TraceIDArg identifier, size_t flow_id_count, const uint64_t *flow_ids, Dart_Timeline_Event_Type type, const std::vector< const char * > &c_names, const std::vector< std::string > &values) |
void | TraceTimelineEvent (TraceArg category_group, TraceArg name, TraceIDArg identifier, size_t flow_id_count, const uint64_t *flow_ids, Dart_Timeline_Event_Type type, const std::vector< const char * > &c_names, const std::vector< std::string > &values) |
void | TraceEvent0 (TraceArg category_group, TraceArg name, size_t flow_id_count, const uint64_t *flow_ids) |
void | TraceEvent1 (TraceArg category_group, TraceArg name, size_t flow_id_count, const uint64_t *flow_ids, TraceArg arg1_name, TraceArg arg1_val) |
void | TraceEvent2 (TraceArg category_group, TraceArg name, size_t flow_id_count, const uint64_t *flow_ids, TraceArg arg1_name, TraceArg arg1_val, TraceArg arg2_name, TraceArg arg2_val) |
void | TraceEventEnd (TraceArg name) |
void | TraceEventAsyncComplete (TraceArg category_group, TraceArg name, TimePoint begin, TimePoint end) |
void | TraceEventAsyncBegin0 (TraceArg category_group, TraceArg name, TraceIDArg id, size_t flow_id_count, const uint64_t *flow_ids) |
void | TraceEventAsyncEnd0 (TraceArg category_group, TraceArg name, TraceIDArg id) |
void | TraceEventAsyncBegin1 (TraceArg category_group, TraceArg name, TraceIDArg id, size_t flow_id_count, const uint64_t *flow_ids, TraceArg arg1_name, TraceArg arg1_val) |
void | TraceEventAsyncEnd1 (TraceArg category_group, TraceArg name, TraceIDArg id, TraceArg arg1_name, TraceArg arg1_val) |
void | TraceEventInstant0 (TraceArg category_group, TraceArg name, size_t flow_id_count, const uint64_t *flow_ids) |
void | TraceEventInstant1 (TraceArg category_group, TraceArg name, size_t flow_id_count, const uint64_t *flow_ids, TraceArg arg1_name, TraceArg arg1_val) |
void | TraceEventInstant2 (TraceArg category_group, TraceArg name, size_t flow_id_count, const uint64_t *flow_ids, TraceArg arg1_name, TraceArg arg1_val, TraceArg arg2_name, TraceArg arg2_val) |
void | TraceEventFlowBegin0 (TraceArg category_group, TraceArg name, TraceIDArg id) |
void | TraceEventFlowStep0 (TraceArg category_group, TraceArg name, TraceIDArg id) |
void | TraceEventFlowEnd0 (TraceArg category_group, TraceArg name, TraceIDArg id) |
std::string | TraceToString (const char *string) |
std::string | TraceToString (std::string string) |
std::string | TraceToString (TimePoint point) |
template<typename T , typename = std::enable_if_t<std::is_arithmetic<T>::value>> | |
std::string | TraceToString (T string) |
void | SplitArgumentsCollect (std::vector< const char * > &keys, std::vector< std::string > &values) |
template<typename Key , typename Value , typename... Args> | |
void | SplitArgumentsCollect (std::vector< const char * > &keys, std::vector< std::string > &values, Key key, Value value, Args... args) |
std::pair< std::vector< const char * >, std::vector< std::string > > | SplitArguments () |
template<typename Key , typename Value , typename... Args> | |
std::pair< std::vector< const char * >, std::vector< std::string > > | SplitArguments (Key key, Value value, Args... args) |
template<typename... Args> | |
void | TraceCounter (TraceArg category, TraceArg name, TraceIDArg identifier, Args... args) |
template<typename... Args> | |
void | TraceCounterNopHACK (TraceArg category, TraceArg name, TraceIDArg identifier, Args... args) |
template<typename... Args> | |
void | TraceEvent (TraceArg category, TraceArg name, size_t flow_id_count, const uint64_t *flow_ids, Args... args) |
template<typename... Args> | |
void | TraceEventAsyncComplete (TraceArg category_group, TraceArg name, TimePoint begin, TimePoint end, Args... args) |
typedef void(* fml::tracing::TimelineEventHandler) (const char *, int64_t, int64_t, intptr_t, const int64_t *, Dart_Timeline_Event_Type, intptr_t, const char **, const char **) |
Definition at line 217 of file trace_event.h.
using fml::tracing::TimelineMicrosSource = typedef int64_t (*)() |
Definition at line 227 of file trace_event.h.
using fml::tracing::TraceArg = typedef const char* |
Definition at line 212 of file trace_event.h.
using fml::tracing::TraceIDArg = typedef int64_t |
Definition at line 213 of file trace_event.h.
|
inline |
Definition at line 288 of file trace_event.h.
std::pair< std::vector< const char * >, std::vector< std::string > > fml::tracing::SplitArguments | ( | Key | key, |
Value | value, | ||
Args... | args | ||
) |
Definition at line 294 of file trace_event.h.
|
inline |
Definition at line 273 of file trace_event.h.
void fml::tracing::SplitArgumentsCollect | ( | std::vector< const char * > & | keys, |
std::vector< std::string > & | values, | ||
Key | key, | ||
Value | value, | ||
Args... | args | ||
) |
Definition at line 277 of file trace_event.h.
void fml::tracing::TraceCounter | ( | TraceArg | category, |
TraceArg | name, | ||
TraceIDArg | identifier, | ||
Args... | args | ||
) |
Definition at line 304 of file trace_event.h.
void fml::tracing::TraceCounterNopHACK | ( | TraceArg | category, |
TraceArg | name, | ||
TraceIDArg | identifier, | ||
Args... | args | ||
) |
Definition at line 319 of file trace_event.h.
void fml::tracing::TraceEvent | ( | TraceArg | category, |
TraceArg | name, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids, | ||
Args... | args | ||
) |
Definition at line 325 of file trace_event.h.
void fml::tracing::TraceEvent0 | ( | TraceArg | category_group, |
TraceArg | name, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids | ||
) |
Definition at line 408 of file trace_event.cc.
void fml::tracing::TraceEvent1 | ( | TraceArg | category_group, |
TraceArg | name, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids, | ||
TraceArg | arg1_name, | ||
TraceArg | arg1_val | ||
) |
Definition at line 413 of file trace_event.cc.
void fml::tracing::TraceEvent2 | ( | TraceArg | category_group, |
TraceArg | name, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids, | ||
TraceArg | arg1_name, | ||
TraceArg | arg1_val, | ||
TraceArg | arg2_name, | ||
TraceArg | arg2_val | ||
) |
Definition at line 420 of file trace_event.cc.
void fml::tracing::TraceEventAsyncBegin0 | ( | TraceArg | category_group, |
TraceArg | name, | ||
TraceIDArg | id, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids | ||
) |
Definition at line 436 of file trace_event.cc.
void fml::tracing::TraceEventAsyncBegin1 | ( | TraceArg | category_group, |
TraceArg | name, | ||
TraceIDArg | id, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids, | ||
TraceArg | arg1_name, | ||
TraceArg | arg1_val | ||
) |
Definition at line 446 of file trace_event.cc.
void fml::tracing::TraceEventAsyncComplete | ( | TraceArg | category_group, |
TraceArg | name, | ||
TimePoint | begin, | ||
TimePoint | end | ||
) |
Definition at line 431 of file trace_event.cc.
void fml::tracing::TraceEventAsyncComplete | ( | TraceArg | category_group, |
TraceArg | name, | ||
TimePoint | begin, | ||
TimePoint | end, | ||
Args... | args | ||
) |
Definition at line 361 of file trace_event.h.
void fml::tracing::TraceEventAsyncEnd0 | ( | TraceArg | category_group, |
TraceArg | name, | ||
TraceIDArg | id | ||
) |
Definition at line 442 of file trace_event.cc.
void fml::tracing::TraceEventAsyncEnd1 | ( | TraceArg | category_group, |
TraceArg | name, | ||
TraceIDArg | id, | ||
TraceArg | arg1_name, | ||
TraceArg | arg1_val | ||
) |
Definition at line 454 of file trace_event.cc.
void fml::tracing::TraceEventEnd | ( | TraceArg | name | ) |
Definition at line 429 of file trace_event.cc.
void fml::tracing::TraceEventFlowBegin0 | ( | TraceArg | category_group, |
TraceArg | name, | ||
TraceIDArg | id | ||
) |
Definition at line 481 of file trace_event.cc.
void fml::tracing::TraceEventFlowEnd0 | ( | TraceArg | category_group, |
TraceArg | name, | ||
TraceIDArg | id | ||
) |
Definition at line 489 of file trace_event.cc.
void fml::tracing::TraceEventFlowStep0 | ( | TraceArg | category_group, |
TraceArg | name, | ||
TraceIDArg | id | ||
) |
Definition at line 485 of file trace_event.cc.
void fml::tracing::TraceEventInstant0 | ( | TraceArg | category_group, |
TraceArg | name, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids | ||
) |
Definition at line 460 of file trace_event.cc.
void fml::tracing::TraceEventInstant1 | ( | TraceArg | category_group, |
TraceArg | name, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids, | ||
TraceArg | arg1_name, | ||
TraceArg | arg1_val | ||
) |
Definition at line 465 of file trace_event.cc.
void fml::tracing::TraceEventInstant2 | ( | TraceArg | category_group, |
TraceArg | name, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids, | ||
TraceArg | arg1_name, | ||
TraceArg | arg1_val, | ||
TraceArg | arg2_name, | ||
TraceArg | arg2_val | ||
) |
Definition at line 472 of file trace_event.cc.
int64_t fml::tracing::TraceGetTimelineMicros | ( | ) |
Definition at line 379 of file trace_event.cc.
bool fml::tracing::TraceHasTimelineEventHandler | ( | ) |
Definition at line 375 of file trace_event.cc.
size_t fml::tracing::TraceNonce | ( | ) |
Definition at line 385 of file trace_event.cc.
void fml::tracing::TraceSetAllowlist | ( | const std::vector< std::string > & | allowlist | ) |
Definition at line 371 of file trace_event.cc.
void fml::tracing::TraceSetTimelineEventHandler | ( | TimelineEventHandler | handler | ) |
Definition at line 373 of file trace_event.cc.
void fml::tracing::TraceSetTimelineMicrosSource | ( | TimelineMicrosSource | source | ) |
Definition at line 383 of file trace_event.cc.
void fml::tracing::TraceTimelineEvent | ( | TraceArg | category_group, |
TraceArg | name, | ||
int64_t | timestamp_micros, | ||
TraceIDArg | identifier, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids, | ||
Dart_Timeline_Event_Type | type, | ||
const std::vector< const char * > & | c_names, | ||
const std::vector< std::string > & | values | ||
) |
Definition at line 389 of file trace_event.cc.
void fml::tracing::TraceTimelineEvent | ( | TraceArg | category_group, |
TraceArg | name, | ||
TraceIDArg | identifier, | ||
size_t | flow_id_count, | ||
const uint64_t * | flow_ids, | ||
Dart_Timeline_Event_Type | type, | ||
const std::vector< const char * > & | c_names, | ||
const std::vector< std::string > & | values | ||
) |
Definition at line 399 of file trace_event.cc.
|
inline |
Definition at line 256 of file trace_event.h.
|
inline |
Definition at line 260 of file trace_event.h.
std::string fml::tracing::TraceToString | ( | T | string | ) |
Definition at line 269 of file trace_event.h.
|
inline |
Definition at line 264 of file trace_event.h.