Page 1 of 1

linux timing

Posted: Mon May 15, 2006 9:56 am
by Ozguxxx
Hi All!!! it feels very good to be writing back into this text box, I see that OS stuff is going very well, very good work moderators, this forum rules.. :) I hope I can go back to OS stuff some day although it doesnt seem possible in near future. :(

Well I need some way to get timing of a program in linux for research purposes (to put the results in a research paper), that is, I have to see the cpu time that is spent in a program so that we will see the increase in speed in code. I did NOT check anything in the internet, I thought this might be done in lots of ways so I thought I might find the best way by asking a question here (and to be back in the forum ;D eheh..) I was thinking profiling the code might help but it is not the most appropriate way, I guess... Hope to hear back from all of you.. Thanx in advance.

Re:linux timing

Posted: Mon May 15, 2006 6:31 pm
by zloba
"time" command?

Re:linux timing

Posted: Mon May 15, 2006 7:13 pm
by mystran
"time" command!

Re:linux timing

Posted: Mon May 15, 2006 10:11 pm
by Ozguxxx
hmm, yess, thanx.. ;D