logging: using SDL_GetTicks(), tv_usec is buggy on some systems