Added timing to the main in cross compile