so i'm doing quality assurance task raspberry pi under linux, 7 programs preload, preload.c,run_test, run_test.c, runit_mainain,runit_preload,runit_test.
what running runit_preload,and run run_test, , unplug raspberry , @ last run runit_maintain. need record time of execution time of each program every time try time -p runit_preload or time -p ./preload.c,it never shows time instead runs program again.
if have used time api in c (make search gettime function in c ) it's easy , more accurate. time value @ beginning , end of main function , run program. repeat process many times worst runtime.
Comments
Post a Comment