Why not (long long) (tloc - trem) ?