A C++ simpler timer implementation based on boost