TimingEvents: Switch from heap to sorted linked list

This commit is contained in:
Connor McLaughlin
2020-08-31 20:54:59 +10:00
parent 101907a731
commit f187ee4971
2 changed files with 205 additions and 76 deletions

View File

@ -56,6 +56,9 @@ public:
void SetInterval(TickCount interval) { m_interval = interval; }
void SetPeriod(TickCount period) { m_period = period; }
TimingEvent* prev = nullptr;
TimingEvent* next = nullptr;
TickCount m_downcount;
TickCount m_time_since_last_run;
TickCount m_period;