-
public final class EnabledMetricsSets which metrics (if any) are gathered and reported
-
-
Constructor Summary
Constructors Constructor Description EnabledMetrics(Boolean enable)EnabledMetrics(Boolean rendering, Boolean cpu, Boolean memory)
-
Method Summary
Modifier and Type Method Description final BooleangetRendering()Determines whether rendering metrics (slow and frozen frames) are gathered and reported final UnitsetRendering(Boolean rendering)Determines whether rendering metrics (slow and frozen frames) are gathered and reported final BooleangetCpu()Determines whether CPU use is gathered and reported. final UnitsetCpu(Boolean cpu)Determines whether CPU use is gathered and reported. final BooleangetMemory()Determines whether memory consumption is gathered and reported. final UnitsetMemory(Boolean memory)Determines whether memory consumption is gathered and reported. Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Method Detail
-
getRendering
final Boolean getRendering()
Determines whether rendering metrics (slow and frozen frames) are gathered and reported
-
setRendering
final Unit setRendering(Boolean rendering)
Determines whether rendering metrics (slow and frozen frames) are gathered and reported
-
getCpu
final Boolean getCpu()
Determines whether CPU use is gathered and reported. When enabled, the CPU use is sampled periodically for the app process and main thread.
-
setCpu
final Unit setCpu(Boolean cpu)
Determines whether CPU use is gathered and reported. When enabled, the CPU use is sampled periodically for the app process and main thread.
-
setMemory
final Unit setMemory(Boolean memory)
Determines whether memory consumption is gathered and reported.
-
-
-
-