|
| SkATrace () |
|
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 |
|
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 *) |
|
This class is used to support ATrace in android apps. It hooks into the SkEventTracer system. It currently supports the macros TRACE_EVENT*, TRACE_EVENT_INSTANT*, and TRACE_EVENT_BEGIN/END*. For versions of these calls that take additoinal args and value pairs we currently just drop them and report only the name. Since ATrace is a simple push and pop system (all traces are fully nested), if using BEGIN and END you should also make sure your calls are properly nested (i.e. if startA is before startB, then endB is before endA).
Definition at line 23 of file SkATrace.h.