Mocked functions for gettimeofday, etc.