C++ method, which count how long time you lived