INPStarfall / Starfall

Starfall Processor for Garry's Mod + Wiremod
http://www.wiremod.com/forum/developers-showcase/22739-starfall-processor.html
Other
17 stars 15 forks source link

Improved cpuTime quota check by using statistical analysis on cpuTime buffer #415

Closed Jazzelhawk closed 8 years ago

Jazzelhawk commented 8 years ago

EDIT: I noticed that the analysis alone does not detect large spikes in cpuTime so I changed the quota exceeded expression to include a hard limit on the cpuTime. Together the system is able allow chip cpuTime spikes to exceed the quota limit based on how much much their cpuTime is varying (with more variance allowing the spike to exceed the quota limit more) and is able to catch big spikes with a hard cpuTime limit.