fix overflow behavior of clock() function