Initial commit for converting workerScripts pool to Map data structure

This commit is contained in:
danielyxie
2019-06-19 01:03:08 -07:00
parent 931de230ae
commit 821725cf4d
4 changed files with 64 additions and 3 deletions

View File

@@ -56,6 +56,9 @@ export class RunningScript {
// Number of seconds that this script has been running online
onlineRunningTime: number = 0.01;
// Process ID. Must be an integer and equals the PID of corresponding WorkerScript
pid: number = -1;
// How much RAM this script uses for ONE thread
ramUsage: number = 0;