public @interface TelemetryFormat
Telemetry annotation.
This annotation is used by the Telemetry.format() parameter.| Modifier and Type | Optional Element and Description |
|---|---|
int |
scale
A scaling factor for the telemetry.
|
boolean |
stacked
Determines whether multiple lines in a telemetry should be stacked into an area graph.
|
TelemetryUnit |
value
The unit of the recorded values.
|
public abstract TelemetryUnit value
public abstract int scale
10^-scale.
In JProfiler, probe telemetry data is stored in 32-bit ints. So this is especially useful for telemetries that
will show higher values than 2^31. For example, if you use the
TelemetryUnit.BYTES you can return kB instead and set the scale to -3.
This is also useful to show fractional values. For example, if you want to show a percentage with two decimal digits,
the returned value should be the percentage times 100 and the scale parameter should be set to 2.