Package io.sentry
Class PerformanceCollectionData
java.lang.Object
io.sentry.PerformanceCollectionData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Doublelong@Nullable Long@Nullable LongvoidsetCpuUsagePercentage(@Nullable Double cpuUsagePercentage) Set the cpu usage percentage.voidsetUsedHeapMemory(@Nullable Long usedHeapMemory) voidsetUsedNativeMemory(@Nullable Long usedNativeMemory)
-
Constructor Details
-
PerformanceCollectionData
public PerformanceCollectionData(long nanoTimestamp)
-
-
Method Details
-
setCpuUsagePercentage
Set the cpu usage percentage. -
getCpuUsagePercentage
-
setUsedHeapMemory
-
getUsedHeapMemory
-
setUsedNativeMemory
-
getUsedNativeMemory
-
getNanoTimestamp
public long getNanoTimestamp()
-