| 998 | |
| 999 | |
| 1000 | void Scheduler::SetBoardTime(int boardIndex, int timeMs) |
| 1001 | { |
| 1002 | if (boardIndex < 0 || boardIndex >= MAXNOOFBOARDS) return; |
| 1003 | // store in the hand time field; this is a lightweight fallback |
| 1004 | // for when DDS_SCHEDULER isn't enabled. No locking required for |
| 1005 | // single-writer per-board usage pattern from the solver threads. |
| 1006 | hands[boardIndex].time = timeMs; |
| 1007 | } |
| 1008 | |
| 1009 | |
| 1010 | int Scheduler::PredictedTime( |
no outgoing calls
no test coverage detected