Add timing functions
Merge branch 'master' of github.com:Cecca/gdem