added timing to cross compilation code