modiffied test.cpp show run total time