instead of unsinged int, use RTIME.