Flutter Engine
The Flutter Engine
|
#include <SkPerfettoTrace.h>
Public Member Functions | |
SkPerfettoTrace () | |
~SkPerfettoTrace () override | |
SkEventTracer::Handle | addTraceEvent (char phase, const uint8_t *categoryEnabledFlag, const char *name, uint64_t id, int numArgs, const char **argNames, const uint8_t *argTypes, const uint64_t *argValues, uint8_t flags) override |
void | updateTraceEventDuration (const uint8_t *categoryEnabledFlag, const char *name, SkEventTracer::Handle handle) override |
const uint8_t * | getCategoryGroupEnabled (const char *name) override |
const char * | getCategoryGroupName (const uint8_t *categoryEnabledFlag) override |
void | newTracingSection (const char *name) override |
Public Member Functions inherited from SkEventTracer | |
virtual | ~SkEventTracer ()=default |
virtual const uint8_t * | getCategoryGroupEnabled (const char *name)=0 |
virtual const char * | getCategoryGroupName (const uint8_t *categoryEnabledFlag)=0 |
virtual SkEventTracer::Handle | addTraceEvent (char phase, const uint8_t *categoryEnabledFlag, const char *name, uint64_t id, int32_t numArgs, const char **argNames, const uint8_t *argTypes, const uint64_t *argValues, uint8_t flags)=0 |
virtual void | updateTraceEventDuration (const uint8_t *categoryEnabledFlag, const char *name, SkEventTracer::Handle handle)=0 |
virtual void | newTracingSection (const char *) |
Additional Inherited Members | |
Public Types inherited from SkEventTracer | |
enum | CategoryGroupEnabledFlags { kEnabledForRecording_CategoryGroupEnabledFlags = 1 << 0 , kEnabledForMonitoring_CategoryGroupEnabledFlags = 1 << 1 , kEnabledForEventCallback_CategoryGroupEnabledFlags = 1 << 2 } |
typedef uint64_t | Handle |
Static Public Member Functions inherited from SkEventTracer | |
static bool | SetInstance (SkEventTracer *, bool leakTracer=false) |
static SkEventTracer * | GetInstance () |
Protected Member Functions inherited from SkEventTracer | |
SkEventTracer ()=default | |
SkEventTracer (const SkEventTracer &)=delete | |
SkEventTracer & | operator= (const SkEventTracer &)=delete |
This class is used to support Perfetto tracing. It hooks into the SkEventTracer system.
Definition at line 20 of file SkPerfettoTrace.h.
SkPerfettoTrace::SkPerfettoTrace | ( | ) |
Definition at line 37 of file SkPerfettoTrace.cpp.
|
override |
Definition at line 43 of file SkPerfettoTrace.cpp.
|
override |
Definition at line 114 of file SkPerfettoTrace.cpp.
|
overridevirtual |
Implements SkEventTracer.
Definition at line 160 of file SkPerfettoTrace.cpp.
|
overridevirtual |
Implements SkEventTracer.
Definition at line 164 of file SkPerfettoTrace.cpp.
|
overridevirtual |
Reimplemented from SkEventTracer.
Definition at line 336 of file SkPerfettoTrace.cpp.
|
overridevirtual |
Implements SkEventTracer.
Definition at line 152 of file SkPerfettoTrace.cpp.