Revise get delta time define