Added basic timing functions (unix)