TrackingStats

data class TrackingStats(val context: String, val eventCount: AtomicInteger = AtomicInteger(0), val pageEnters: AtomicInteger = AtomicInteger(0), val viewModelCreations: AtomicInteger = AtomicInteger(0), val classCreations: AtomicInteger = AtomicInteger(0), val recompositions: AtomicInteger = AtomicInteger(0), val functionCalls: AtomicInteger = AtomicInteger(0), val effectStarts: AtomicInteger = AtomicInteger(0), val effectStops: AtomicInteger = AtomicInteger(0), var firstOccurrence: LocalDateTime? = null, var lastOccurrence: LocalDateTime? = null)

Data class representing statistics for a specific tracked context.

References:

Constructors

Link copied to clipboard
constructor(context: String, eventCount: AtomicInteger = AtomicInteger(0), pageEnters: AtomicInteger = AtomicInteger(0), viewModelCreations: AtomicInteger = AtomicInteger(0), classCreations: AtomicInteger = AtomicInteger(0), recompositions: AtomicInteger = AtomicInteger(0), functionCalls: AtomicInteger = AtomicInteger(0), effectStarts: AtomicInteger = AtomicInteger(0), effectStops: AtomicInteger = AtomicInteger(0), firstOccurrence: LocalDateTime? = null, lastOccurrence: LocalDateTime? = null)

Properties

Link copied to clipboard

Number of class instances created.

Link copied to clipboard

The name of the tracked element.

Link copied to clipboard

Number of effect starts.

Link copied to clipboard

Number of effect stops.

Link copied to clipboard

Total number of events recorded for this context.

Link copied to clipboard

The timestamp of the first occurrence.

Link copied to clipboard

Number of function calls.

Link copied to clipboard

The timestamp of the last occurrence.

Link copied to clipboard

Number of page entries.

Link copied to clipboard

Number of recompositions.

Link copied to clipboard

Number of view models created.

Functions

Link copied to clipboard