Created a class to do the time profiling.
Merge remote-tracking branch 'libprofiler/master'