Added some timing functions to the byteswap module.