/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file.
*/
#ifndef SkATrace_DEFINED #define SkATrace_DEFINED
#include"include/utils/SkEventTracer.h"
#include <cstdint>
/** * 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).
*/ class SkATrace : public SkEventTracer { public:
SkATrace();
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.