| 40 | } |
| 41 | |
| 42 | void Timer :: AddTimerWithType(const uint64_t llAbsTime, const int iType, uint32_t & iTimerID) |
| 43 | { |
| 44 | iTimerID = m_iNowTimerID++; |
| 45 | |
| 46 | TimerObj tObj(iTimerID, llAbsTime, iType); |
| 47 | m_vecTimerHeap.push_back(tObj); |
| 48 | push_heap(begin(m_vecTimerHeap), end(m_vecTimerHeap)); |
| 49 | } |
| 50 | |
| 51 | const int Timer :: GetNextTimeout() const |
| 52 | { |
nothing calls this directly
no outgoing calls
no test coverage detected