Now using C++0x standard, better way to calculate FPS