Using the new Timer.
Replacing c++0x with c++11.