Refactoring: floating point timer to unsigned integer