* improved output from time profiler.
* improved test of time profiler.