TracingConfig
open class TracingConfig
kotlin.Any | |
↳ | android.webkit.TracingConfig |
Holds tracing configuration information and predefined settings.
Summary
Nested classes | |
---|---|
open |
Builder used to create |
Constants | |
---|---|
static Int |
Predefined set of categories, includes all categories enabled by default in chromium. |
static Int |
Predefined set of categories typically useful for analyzing WebViews. |
static Int |
Predefined set of categories for studying difficult rendering performance problems. |
static Int |
Predefined set of categories for analyzing input latency issues. |
static Int |
Predefined set of categories for analyzing javascript and rendering issues. |
static Int |
Indicates that there are no predefined categories. |
static Int |
Predefined set of categories for analyzing rendering issues. |
static Int |
Predefined set of categories typically useful for web developers. |
static Int |
Record trace events continuously using an internal ring buffer. |
static Int |
Record trace events until the internal tracing buffer is full. |
Public methods | |
---|---|
open MutableList<String!> |
Returns the list of included custom category patterns for this configuration. |
open Int |
Returns a bitmask of the predefined category sets of this configuration. |
open Int |
Returns the tracing mode of this configuration. |
Constants
CATEGORIES_ALL
static val CATEGORIES_ALL: Int
Predefined set of categories, includes all categories enabled by default in chromium. Use with caution: this setting may produce large trace output.
Value: 1
CATEGORIES_ANDROID_WEBVIEW
static val CATEGORIES_ANDROID_WEBVIEW: Int
Predefined set of categories typically useful for analyzing WebViews. Typically includes "android_webview" and "Java" categories.
Value: 2
CATEGORIES_FRAME_VIEWER
static val CATEGORIES_FRAME_VIEWER: Int
Predefined set of categories for studying difficult rendering performance problems. Typically includes "blink", "compositor", "gpu", "renderer.scheduler", "v8" and some other compositor categories which are disabled by default.
Value: 64
CATEGORIES_INPUT_LATENCY
static val CATEGORIES_INPUT_LATENCY: Int
Predefined set of categories for analyzing input latency issues. Typically includes "input", "renderer.scheduler" categories.
Value: 8
CATEGORIES_JAVASCRIPT_AND_RENDERING
static val CATEGORIES_JAVASCRIPT_AND_RENDERING: Int
Predefined set of categories for analyzing javascript and rendering issues. Typically includes "blink", "compositor", "gpu", "renderer.scheduler" and "v8" categories.
Value: 32
CATEGORIES_NONE
static val CATEGORIES_NONE: Int
Indicates that there are no predefined categories.
Value: 0
CATEGORIES_RENDERING
static val CATEGORIES_RENDERING: Int
Predefined set of categories for analyzing rendering issues. Typically includes "blink", "compositor" and "gpu" categories.
Value: 16
CATEGORIES_WEB_DEVELOPER
static val CATEGORIES_WEB_DEVELOPER: Int
Predefined set of categories typically useful for web developers. Typically includes "blink", "compositor", "renderer.scheduler" and "v8" categories.
Value: 4
RECORD_CONTINUOUSLY
static val RECORD_CONTINUOUSLY: Int
Record trace events continuously using an internal ring buffer. Default tracing mode. Overwrites old events if they exceed buffer capacity. Uses less memory than the RECORD_UNTIL_FULL
mode. Depending on the implementation typically allows up to 64k events to be stored.
Value: 1
RECORD_UNTIL_FULL
static val RECORD_UNTIL_FULL: Int
Record trace events until the internal tracing buffer is full. Typically the buffer memory usage is larger than RECORD_CONTINUOUSLY
. Depending on the implementation typically allows up to 256k events to be stored.
Value: 0
Public methods
getCustomIncludedCategories
open fun getCustomIncludedCategories(): MutableList<String!>
Returns the list of included custom category patterns for this configuration.
Return | |
---|---|
MutableList<String!> |
Empty list if no custom category patterns are specified. This value cannot be null . |
getPredefinedCategories
open fun getPredefinedCategories(): Int
Returns a bitmask of the predefined category sets of this configuration.
getTracingMode
open fun getTracingMode(): Int
Returns the tracing mode of this configuration.
Return | |
---|---|
Int |
The tracing mode of this configuration. Value is android.webkit.TracingConfig#RECORD_UNTIL_FULL , or android.webkit.TracingConfig#RECORD_CONTINUOUSLY |