PowerMetric.Type
sealed class PowerMetric.Type
Configures the PowerMetric request.
Summary
Nested types |
|---|
Protected constructors |
|---|
Type(categories: Map<PowerCategory, PowerCategoryDisplayLevel>) |
Public properties |
|
|---|---|
Map<PowerCategory, PowerCategoryDisplayLevel> |
A map which is used to configure which metrics are displayed. |
Protected constructors
Type
protected Type(
categories: Map<PowerCategory, PowerCategoryDisplayLevel> = emptyMap()
)
| Parameters | |
|---|---|
categories: Map<PowerCategory, PowerCategoryDisplayLevel> = emptyMap() |
A map which is used to configure which metrics are displayed. The key is a |
Public properties
categories
var categories: Map<PowerCategory, PowerCategoryDisplayLevel>
A map which is used to configure which metrics are displayed. The key is a PowerCategory enum, which configures the subsystem category that will be displayed. The value is a PowerCategoryDisplayLevel, which configures whether each subsystem in the category will have metrics displayed independently or summed for a total metric of the category.