MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / getMIPS

Function getMIPS

source/kernel/kscheduler.cpp:230–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230U32 getMIPS() {
231 U32 result = 0;
232 if (elapsedTimeMIPS) {
233 result = (U32)(elapsedInstructionsMIPS/elapsedTimeMIPS);
234 elapsedTimeMIPS = 0;
235 elapsedInstructionsMIPS = 0;
236 }
237 return result;
238}
239
240void waitForProcessToFinish(const KProcessPtr& process, KThread* thread) {
241 while (!process->terminated) {

Callers 2

mainloopFunction · 0.85
doMainLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected