mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 01:22:33 -06:00
16 lines
586 B
Java
16 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()));
|
||
|
}
|
||
|
}
|