Add Ram Usage Detector

This commit is contained in:
DaCool
2021-11-16 14:51:53 +00:00
committed by Sheepit Renderfarm
parent 2e46685068
commit 1969f57da3
9 changed files with 67 additions and 58 deletions

View File

@@ -28,6 +28,7 @@ import java.util.Date;
private long endTime;
private int remainingDuration; // in seconds
private long memoryUsed; // in kB
private long peakMemoryUsed; // in kB
private int coresUsed;
private Process process;
@@ -36,6 +37,7 @@ import java.util.Date;
startTime = -1;
endTime = -1;
memoryUsed = 0;
peakMemoryUsed = 0;
coresUsed = 0;
remainingDuration = 0;
}