| 49 | { |
| 50 | |
| 51 | unsigned int getOptimalThreadCount() |
| 52 | { |
| 53 | int nrThreads = QThread::idealThreadCount() - 1; |
| 54 | if (nrThreads > 0) |
| 55 | return (unsigned int)nrThreads; |
| 56 | else |
| 57 | return 1; |
| 58 | } |
| 59 | |
| 60 | unsigned int systemMemorySizeInMB() |
| 61 | { |
no outgoing calls
no test coverage detected