Package io.sentry.profilemeasurements
Class ProfileMeasurement
java.lang.Object
io.sentry.profilemeasurements.ProfileMeasurement
- All Implemented Interfaces:
JsonSerializable,JsonUnknown
@Internal
public final class ProfileMeasurement
extends Object
implements JsonUnknown, JsonSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProfileMeasurement(@NotNull String unit, @NotNull Collection<ProfileMeasurementValue> values) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringgetUnit()@NotNull Collection<ProfileMeasurementValue>inthashCode()voidserialize(@NotNull ObjectWriter writer, @NotNull ILogger logger) voidvoidsetUnknown(@Nullable Map<String, Object> unknown) voidsetValues(@NotNull Collection<ProfileMeasurementValue> values)
-
Field Details
-
ID_FROZEN_FRAME_RENDERS
- See Also:
-
ID_SLOW_FRAME_RENDERS
- See Also:
-
ID_SCREEN_FRAME_RATES
- See Also:
-
ID_CPU_USAGE
- See Also:
-
ID_MEMORY_FOOTPRINT
- See Also:
-
ID_MEMORY_NATIVE_FOOTPRINT
- See Also:
-
ID_UNKNOWN
- See Also:
-
UNIT_HZ
- See Also:
-
UNIT_NANOSECONDS
- See Also:
-
UNIT_BYTES
- See Also:
-
UNIT_PERCENT
- See Also:
-
UNIT_UNKNOWN
- See Also:
-
-
Constructor Details
-
ProfileMeasurement
public ProfileMeasurement() -
ProfileMeasurement
public ProfileMeasurement(@NotNull @NotNull String unit, @NotNull @NotNull Collection<ProfileMeasurementValue> values)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serializein interfaceJsonSerializable- Throws:
IOException
-
getUnknown
- Specified by:
getUnknownin interfaceJsonUnknown
-
getUnit
-
setUnknown
- Specified by:
setUnknownin interfaceJsonUnknown
-
setUnit
-
getValues
-
setValues
-