A simple module for timing function calls.