mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
15 lines
586 B
Java
15 lines
586 B
Java
package io.sentry;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class JavaMemoryCollector implements IPerformanceSnapshotCollector {
|
|
private final Runtime runtime = Runtime.getRuntime();
|
|
|
|
@Override // io.sentry.IPerformanceSnapshotCollector
|
|
public void setup() {
|
|
}
|
|
|
|
@Override // io.sentry.IPerformanceSnapshotCollector
|
|
public void collect(PerformanceCollectionData performanceCollectionData) {
|
|
performanceCollectionData.addMemoryData(new MemoryCollectionData(System.currentTimeMillis(), this.runtime.totalMemory() - this.runtime.freeMemory()));
|
|
}
|
|
}
|