[ CnUnix ] in KIDS 글 쓴 이(By): guest (Sungsim) 날 짜 (Date): 1994년08월13일(토) 07시02분30초 KDT 제 목(Title): cpu timecheck The last letter was not finished and I was logged out. anyway, time(time1); .... . . time(time2); time_taken=difftime(time2, time1); will give you the time taken for executing that segment, where appropriate types are declared in the beginning. hope this is helpful in anysense. sungsim |