-
public final class TimeseriesCpuEvent.DataFlattened CPU data points
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTimeseriesCpuEvent.Data.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<Long>timestampsprivate final TimeseriesCpuEvent.Valuesvalues
-
Constructor Summary
Constructors Constructor Description TimeseriesCpuEvent.Data(List<Long> timestamps, TimeseriesCpuEvent.Values values)
-
Method Summary
Modifier and Type Method Description final List<Long>getTimestamps()final TimeseriesCpuEvent.ValuesgetValues()final JsonElementtoJson()-
-
Constructor Detail
-
TimeseriesCpuEvent.Data
TimeseriesCpuEvent.Data(List<Long> timestamps, TimeseriesCpuEvent.Values values)
- Parameters:
timestamps- Sample timestamps in nanoseconds from epochvalues- CPU measurements, aligned index-for-index with timestamps
-
-
Method Detail
-
getTimestamps
final List<Long> getTimestamps()
-
getValues
final TimeseriesCpuEvent.Values getValues()
-
toJson
final JsonElement toJson()
-
-
-
-