switched timing from 'chrono' to 'gettimeofday()'