Flutter Engine
The Flutter Engine
|
#include "include/utils/SkEventTracer.h"
#include "src/base/SkUtils.h"
#include "src/core/SkTraceEventCommon.h"
#include <atomic>
Go to the source code of this file.
Classes | |
class | skia_private::TraceID |
class | skia_private::TraceStringWithCopy |
class | skia_private::ScopedTracer |
Namespaces | |
namespace | skia_private |
Functions | |
template<typename T > | |
static void | skia_private::SetTraceValue (const T &arg, unsigned char *type, uint64_t *value) |
static const char * | skia_private::TraceValueAsString (uint64_t value) |
static const void * | skia_private::TraceValueAsPointer (uint64_t value) |
static SkEventTracer::Handle | skia_private::AddTraceEvent (char phase, const uint8_t *category_group_enabled, const char *name, uint64_t id, unsigned char flags) |
template<class ARG1_TYPE > | |
static SkEventTracer::Handle | skia_private::AddTraceEvent (char phase, const uint8_t *category_group_enabled, const char *name, uint64_t id, unsigned char flags, const char *arg1_name, const ARG1_TYPE &arg1_val) |
template<class ARG1_TYPE , class ARG2_TYPE > | |
static SkEventTracer::Handle | skia_private::AddTraceEvent (char phase, const uint8_t *category_group_enabled, const char *name, uint64_t id, unsigned char flags, const char *arg1_name, const ARG1_TYPE &arg1_val, const char *arg2_name, const ARG2_TYPE &arg2_val) |
Variables | |
const int | skia_private::kZeroNumArgs = 0 |
const uint64_t | skia_private::kNoEventId = 0 |
Definition at line 166 of file SkTraceEvent.h.
#define INTERNAL_TRACE_EVENT_ADD_SCOPED | ( | category_group, | |
name, | |||
... | |||
) |
Definition at line 195 of file SkTraceEvent.h.
Definition at line 178 of file SkTraceEvent.h.
#define INTERNAL_TRACE_EVENT_CATEGORY_GROUP_ENABLED_FOR_RECORDING_MODE | ( | ) |
Definition at line 76 of file SkTraceEvent.h.
#define INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO | ( | category_group | ) |
Definition at line 156 of file SkTraceEvent.h.
#define INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES | ( | category_group, | |
atomic, | |||
category_group_enabled | |||
) |
Definition at line 146 of file SkTraceEvent.h.
#define INTERNAL_TRACE_EVENT_UID | ( | name_prefix | ) | INTERNAL_TRACE_EVENT_UID2(name_prefix, __LINE__) |
Definition at line 140 of file SkTraceEvent.h.
#define INTERNAL_TRACE_EVENT_UID2 | ( | a, | |
b | |||
) | INTERNAL_TRACE_EVENT_UID3(a,b) |
Definition at line 138 of file SkTraceEvent.h.
Definition at line 136 of file SkTraceEvent.h.
#define TRACE_CATEGORY_PREFIX "disabled-by-default-" |
Definition at line 129 of file SkTraceEvent.h.
#define TRACE_EVENT_API_ADD_TRACE_EVENT SkEventTracer::GetInstance()->addTraceEvent |
Definition at line 103 of file SkTraceEvent.h.
#define TRACE_EVENT_API_CLASS_EXPORT SK_API |
Definition at line 125 of file SkTraceEvent.h.
#define TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED SkEventTracer::GetInstance()->getCategoryGroupEnabled |
Definition at line 89 of file SkTraceEvent.h.
#define TRACE_EVENT_API_NEW_TRACE_SECTION SkEventTracer::GetInstance()->newTracingSection |
Definition at line 120 of file SkTraceEvent.h.
#define TRACE_EVENT_API_UPDATE_TRACE_EVENT_DURATION SkEventTracer::GetInstance()->updateTraceEventDuration |
Definition at line 111 of file SkTraceEvent.h.
#define TRACE_FUNC __PRETTY_FUNCTION__ |
Definition at line 30 of file SkTraceEvent.h.
#define TRACE_STR_COPY | ( | str | ) | (::skia_private::TraceStringWithCopy(str)) |
Definition at line 63 of file SkTraceEvent.h.
#define TRACE_STR_STATIC | ( | str | ) | (str) |
Definition at line 73 of file SkTraceEvent.h.