TestPerfEvent

open class TestPerfEvent : PerfEvent

Implementation of PerfEvent for tests.

Constructors

Link copied to clipboard
constructor(markerId: Int)

Functions

Link copied to clipboard
open fun equals(@Nullable o: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getInstanceKey(): Int
Identify a particular instance of a performance event if there are multiple, parallel events of the same marker id.
Link copied to clipboard
open fun getMarkerId(): Int
Identify the type of a performance event.
Link copied to clipboard
open fun getPoints(): List<String>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun markerAnnotate(annotationKey: String, annotationValue: Boolean)
open fun markerAnnotate(annotationKey: String, annotationValue: Double)
open fun markerAnnotate(annotationKey: String, annotationValue: Int)
open fun markerAnnotate(annotationKey: String, annotationValue: Array<Int>)
open fun markerAnnotate(annotationKey: String, annotationValue: Array<Double>)
open fun markerAnnotate(annotationKey: String, annotationValue: Array<String>)

open fun markerAnnotate(annotationKey: String, @Nullable annotationValue: String)
Adds a key:value annotation to an already active marker.
Link copied to clipboard
open fun markerPoint(eventName: String)
Annotate the current event with a sub-routing at the point of invocation under the given name.
Link copied to clipboard
open fun toString(): String