mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
fahhh
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include "V8DataModel/GlobalSettings.h"
|
||||
|
||||
namespace RBX
|
||||
{
|
||||
extern const char *const sLuaSettings;
|
||||
class LuaSettings
|
||||
: public GlobalAdvancedSettingsItem<LuaSettings, sLuaSettings>
|
||||
{
|
||||
public:
|
||||
LuaSettings();
|
||||
int gcPause;
|
||||
int gcStepMul;
|
||||
double defaultWaitTime;
|
||||
double smallestWaitTime;
|
||||
|
||||
int gcLimit; //Ideal limit above which we trigger aggressive garbage collection, in average KB per gcFrequency
|
||||
int gcFrequency; //How many heartbeats between maunal GC steps
|
||||
|
||||
bool areScriptStartsReported;
|
||||
float waitingThreadsBudget; // 0..1 A percentage
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user