Update dummy.cpp

added time keeping code