MCPcopy Create free account
hub / github.com/ZDoom/Raze / CheckGC

Function CheckGC

source/common/objects/dobjgc.cpp:187–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185//==========================================================================
186
187void CheckGC()
188{
189 AllocHistory.AddAlloc(RunningAllocBytes);
190 RunningAllocBytes = 0;
191 if (State > GCS_Pause || AllocBytes >= Threshold)
192 {
193 Step();
194 }
195}
196
197//==========================================================================
198//

Callers 1

NetUpdateFunction · 0.85

Calls 2

StepFunction · 0.85
AddAllocMethod · 0.80

Tested by

no test coverage detected