Management of the scheduler counter overflow.
Has been tested, but need more tests.