Description: Design and implementation of Unix " time" command. " Mytime" command from the command line arguments accepted to run the program, create a separate process to run the program, and record the program running time. Use CreateProcess () to create a process using WaitForSingleObject () between " mytime" command and the newly created process synchronous call GetSystemTime () to get the time
To Search:
File list (Check if you may need any files):
mytime\Debug\mytime.exe
......\.....\mytime.ilk
......\.....\mytime.pdb
......\.....\program1.exe
......\.....\wintest1.exe
......\.....\wintest2.exe
......\ipch\mytime-399ef12b\mytime-317be621.ipch
......\....\...............\mytime-4d116adb.ipch
......\mytime\Debug\CL.read.1.tlog
......\......\.....\CL.write.1.tlog
......\......\.....\link-cvtres.read.1.tlog
......\......\.....\link-cvtres.write.1.tlog
......\......\.....\link-rc.read.1.tlog
......\......\.....\link-rc.write.1.tlog
......\......\.....\link.4504-cvtres.read.1.tlog
......\......\.....\link.4504-cvtres.write.1.tlog
......\......\.....\link.4504-rc.read.1.tlog
......\......\.....\link.4504-rc.write.1.tlog
......\......\.....\link.4504.read.1.tlog
......\......\.....\link.4504.write.1.tlog
......\......\.....\link.read.1.tlog
......\......\.....\link.write.1.tlog
......\......\.....\mytime.lastbuildstate
......\......\.....\mytime.log
......\......\.....\mytime.obj
......\......\.....\mytime.pch
......\......\.....\stdafx.obj
......\......\.....\vc110.idb
......\......\.....\vc110.pdb
......\......\mytime.cpp
......\......\mytime.vcxproj
......\......\mytime.vcxproj.filters
......\......\mytime.vcxproj.user
......\......\ReadMe.txt
......\......\..lease\CL.read.1.tlog
......\......\.......\CL.write.1.tlog
......\......\.......\mytime.lastbuildstate
......\......\.......\mytime.log
......\......\.......\mytime.pch
......\......\.......\mytime.unsuccessfulbuild
......\......\.......\stdafx.obj
......\......\.......\vc110.pdb
......\......\stdafx.cpp
......\......\stdafx.h
......\......\targetver.h
......\mytime.sdf
......\mytime.sln
......\mytime.v11.suo
program1\Debug\program1.exe
........\.....\program1.ilk
........\.....\program1.pdb
........\program1\Debug\CL.read.1.tlog
........\........\.....\CL.write.1.tlog
........\........\.....\link-cvtres.read.1.tlog
........\........\.....\link-cvtres.write.1.tlog
........\........\.....\link-rc.read.1.tlog
........\........\.....\link-rc.write.1.tlog
........\........\.....\link.read.1.tlog
........\........\.....\link.write.1.tlog
........\........\.....\program1.lastbuildstate
........\........\.....\program1.log
........\........\.....\program1.obj
........\........\.....\stdafx.obj
........\........\.....\vc110.idb
........\........\.....\vc110.pdb
........\........\program1.cpp
........\........\program1.vcxproj
........\........\program1.vcxproj.filters
........\........\ReadMe.txt
........\........\stdafx.cpp
........\........\stdafx.h
........\........\targetver.h
........\program1.sdf
........\program1.sln
........\program1.v11.suo
mytime\ipch\mytime-399ef12b
......\mytime\Debug
......\......\Release
program1\program1\Debug
mytime\Debug
......\ipch
......\mytime
......\Release
program1\Debug
........\program1
mytime
program1