Sub microsecond accurate timing functions.