MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ProcessAlive

Method ProcessAlive

engine/Poseidon/Dev/Debug/DebugTrap.cpp:200–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200void Debugger::ProcessAlive()
201{
202 static int lastAlive = GetTickCount();
203
204 int time = GetTickCount();
205 int delay = time - lastAlive;
206 lastAlive = time;
207
208 if (delay > 1000)
209 {
210 __nop();
211 }
212 if (_watch)
213 {
214 _watch->KeepAlive();
215 }
216}
217
218Debugger::~Debugger()
219{

Callers 2

RunMainLoopMethod · 0.80
ProcessMessagesNoWaitFunction · 0.80

Calls 2

GetTickCountFunction · 0.85
KeepAliveMethod · 0.80

Tested by

no test coverage detected