void SkATrace::updateTraceEventDuration(const uint8_t* categoryEnabledFlag, constchar* name,
SkEventTracer::Handle handle) { // This is only ever called from a scoped trace event so we will just end the ATrace section. if (fIsEnabled()) {
fEndSection();
}
}
const uint8_t* SkATrace::getCategoryGroupEnabled(constchar* name) { // Chrome tracing is setup to not repeatly call this function once it has been initialized. So // we can't use this to do a check for ATrace isEnabled(). Thus we will always return yes here // and then check to see if ATrace is enabled when beginning and ending a section. static uint8_t yes = SkEventTracer::kEnabledForRecording_CategoryGroupEnabledFlags; return &yes;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.