| 228 | } |
| 229 | |
| 230 | U32 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 | |
| 240 | void waitForProcessToFinish(const KProcessPtr& process, KThread* thread) { |
| 241 | while (!process->terminated) { |
no outgoing calls
no test coverage detected